Function gridPaginationRowRangeSelector
- gridPaginationRowRangeSelector(apiRef): null | {
firstRowIndex: number;
lastRowIndex: number;
} Parameters
- apiRef: MutableRefObject<{
instanceId: {
id: number;
};
state: GridStateCommunity;
}>
Returns null | {
firstRowIndex: number;
lastRowIndex: number;
}
- gridPaginationRowRangeSelector(state, instanceId): null | {
firstRowIndex: number;
lastRowIndex: number;
} Parameters
- state: GridStateCommunity
- instanceId: {
id: number;
}
Returns null | {
firstRowIndex: number;
lastRowIndex: number;
}
Properties
acceptsApiRef
acceptsApiRef: boolean
Get the index of the first and the last row to include in the current page if the pagination is enabled.