Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.4.4
-
None
Description
In the "Configuring the Grid Component in the AppModule class" section of the Grid component documentation this code is given:
public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration) { configuration.add(GridConstants.ROWS_PER_PAGE, "show"); configuration.add(GridConstants.PAGER_POSITION, "bottom"); configuration.add(GridConstants.TABLE_CLASS, "t-data-grid"); }
This should be:
public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration) { configuration.add(ComponentParameterConstants.GRID_ROWS_PER_PAGE, "25"); configuration.add(ComponentParameterConstants.GRID_PAGER_POSITION, "top"); configuration.add(ComponentParameterConstants.GRID_TABLE_CSS_CLASS, "table table-hover table-bordered table-striped"); }
The relevant documentation source is here in pre-5.5.0:
Grid.xdoc:364