@mui/x-data-grid
Version:
The Community plan edition of the Data Grid components (MUI X).
16 lines • 432 B
TypeScript
export interface GridPaginationModel {
/**
* Set the number of rows in one page.
* If some of the rows have children (for instance in the tree data), this number represents the amount of top level rows wanted on each page.
* @default 100
*/
pageSize: number;
/**
* The zero-based index of the current page.
* @default 0
*/
page: number;
}
export interface GridPaginationMeta {
hasNextPage?: boolean;
}