Interface IConfiguration

All Known Implementing Classes:
AbstractHeaderMenuConfiguration, AbstractLayerConfiguration, AbstractRegistryConfiguration, AbstractUiBindingConfiguration, AggregateConfiguration, AutomaticRowHeightExample.ValidationMessageTableStyleConfiguration, BodyHoverStylingBindings, BodyMenuConfiguration, ColumnHeaderHoverLayerConfiguration, ColumnHeaderResizeHoverBindings, ColumnStyleChooserConfiguration, ComboBoxFilterRowConfiguration, DarkNatTableThemeConfiguration, DebugMenuConfiguration, DefaultColumnGroupHeaderLayerConfiguration, DefaultColumnGroupHeaderLayerConfiguration, DefaultColumnHeaderLayerConfiguration, DefaultColumnHeaderStyleConfiguration, DefaultColumnReorderBindings, DefaultColumnReorderLayerConfiguration, DefaultColumnResizeBindings, DefaultDataChangeConfiguration, DefaultEditBindings, DefaultEditConfiguration, DefaultExportBindings, DefaultFilterRowConfiguration, DefaultFormulaConfiguration, DefaultFreezeGridBindings, DefaultGridLayerConfiguration, DefaultHierarchicalTreeLayerConfiguration, DefaultImageExportBindings, DefaultMoveSelectionConfiguration, DefaultNatTableStyleConfiguration, DefaultNatTableThemeConfiguration, DefaultPrintBindings, DefaultRowGroupHeaderLayerConfiguration, DefaultRowGroupHeaderLayerConfiguration, DefaultRowHeaderLayerConfiguration, DefaultRowHeaderStyleConfiguration, DefaultRowReorderBindings, DefaultRowReorderLayerConfiguration, DefaultRowResizeBindings, DefaultRowSelectionLayerConfiguration, DefaultRowStyleConfiguration, DefaultSearchBindings, DefaultSelectionBindings, DefaultSelectionLayerConfiguration, DefaultSelectionStyleConfiguration, DefaultSortConfiguration, DefaultSummaryRowConfiguration, DefaultTickUpdateConfiguration, DefaultTreeLayerConfiguration, DynamicColumnHeaderHeightExample.FilterRowCustomConfiguration, FillHandleConfiguration, FilterRowGridExample.FilterRowCustomConfiguration, GroupByDataLayerConfiguration, GroupByHeaderConfiguration, GroupByHeaderMenuConfiguration, HeaderMenuConfiguration, HideIndicatorMenuConfiguration, HierarchicalHideIndicatorMenuConfiguration, ModernNatTableThemeConfiguration, RowHeaderHoverLayerConfiguration, RowHeaderResizeHoverBindings, RowOnlySelectionBindings, RowOnlySelectionConfiguration, ScalingUiBindingConfiguration, SimpleHoverStylingBindings, SingleClickSortConfiguration, StyledColumnHeaderConfiguration, StyledRowHeaderConfiguration, ThemeConfiguration, TreeLayerExpandCollapseKeyBindings

public interface IConfiguration
Configurations can be added to NatTable/ILayer to modify default behavior. These will be processed when NatTable.configure() is invoked. Default configurations are added to most layers AbstractLayer.addConfiguration(IConfiguration). Typically you can turn off default configurations for an ILayer by setting autoconfigure to false in the constructor.
  • Method Details

    • configureLayer

      void configureLayer(ILayer layer)
      Perform configurations on the provided layer.
      Parameters:
      layer - The ILayer to configure.
    • configureRegistry

      void configureRegistry(IConfigRegistry configRegistry)
      Configure NatTable's IConfigRegistry upon receiving this callback. A mechanism to plug-in custom ICellPainter, IDataValidator etc.
      Parameters:
      configRegistry - The IConfigRegistry instance to register configuration values to.
    • configureUiBindings

      void configureUiBindings(UiBindingRegistry uiBindingRegistry)
      Configure NatTable's UiBindingRegistry upon receiving this callback. A mechanism to customize key/mouse bindings.
      Parameters:
      uiBindingRegistry - The UiBindingRegistry instance to register ui bindings to.