A plugin that performs built-in data paging. It also changes the current page if the provided one cannot be applied due to fewer available pages.
Use the following statement to import the plugin:
import { IntegratedPaging } from '@devexpress/dx-react-grid';none
| Name | Plugin | Type | Description |
|---|---|---|---|
| rows | Getter | Array<any> | Rows to be paged. |
| pageSize | Getter | number | Provides the page size. |
| currentPage | Getter | number | Provides the current page. |
| setCurrentPage | Action | (page: number) => void | Changes the current page. |
| getRowLevelKey? | Getter | (row: any) => string? | A function used to get row level key. |
| Name | Plugin | Type | Description |
|---|---|---|---|
| rows | Getter | Array<any> | Rows with the applied paging. |
| totalCount | Getter | number | The total row count. |