@mui/x-data-grid-pro
Version:
The Pro plan edition of the Data Grid components (MUI X).
23 lines (22 loc) • 530 B
TypeScript
import { GridFilterModel, GridSortModel } from '@mui/x-data-grid/models';
/**
* Object passed as parameter to the [[onFetchRows]] option.
*/
export interface GridFetchRowsParams {
/**
* The index of the first row to render.
*/
firstRowToRender: number;
/**
* The index of the last row to render.
*/
lastRowToRender: number;
/**
* The sort model used to sort the grid.
*/
sortModel: GridSortModel;
/**
* The filter model.
*/
filterModel: GridFilterModel;
}