Interface PaginationOptions

Pagination options. These options control the pagesize, and the allowed pagesizes, and whether the pagesize can be changed.

Hierarchy

  • PaginationOptions

Properties

enablePageSizeSelector?: boolean

The flag to enable the pagesize selector. This is the dropdown that allows the user to change the pagesize.

pageSize?: number

The pagesize. This is the number of rows that are displayed per page. The default is GRID_CONSTANTS.DEFAULT_PAGE_SIZE = 50 You can change this by setting the pageSize property on the grid or by using updating the Constants.GRID_CONSTANTS.DEFAULT_PAGE_SIZE variable globally.

pageSizeOptions?: number[]

The allowed pagesizes. This is an array of numbers that are allowed as pagesizes. The default is GRID_CONSTANTS.DEFAULT_PAGE_SIZE_OPTIONS = [10, 25, 50, 100, 250, 500, 1000] You can change this by setting the pageSizeOptions property on the grid or by using updating the Constants.GRID_CONSTANTS.DEFAULT_PAGE_SIZE_OPTIONS variable globally.

Generated using TypeDoc