UNPKG

@mui/x-data-grid

Version:

The Community plan edition of the Data Grid components (MUI X).

74 lines (73 loc) 3.11 kB
import { GridStateCommunity } from '../../../models/gridStateCommunity'; import { GridValidRowModel } from '../../../models/gridRows'; /** * @category Pagination * @ignore - do not document. */ export declare const gridPaginationSelector: (state: GridStateCommunity) => import("./gridPaginationInterfaces").GridPaginationState; /** * @category Pagination * @ignore - do not document. */ export declare const gridPaginationEnabledClientSideSelector: import("../../..").OutputSelector<GridStateCommunity, boolean>; /** * Get the pagination model * @category Pagination */ export declare const gridPaginationModelSelector: import("../../..").OutputSelector<GridStateCommunity, import("../../..").GridPaginationModel>; /** * Get the row count * @category Pagination */ export declare const gridPaginationRowCountSelector: import("../../..").OutputSelector<GridStateCommunity, number>; /** * Get the pagination meta * @category Pagination */ export declare const gridPaginationMetaSelector: import("../../..").OutputSelector<GridStateCommunity, import("../../..").GridPaginationMeta>; /** * Get the index of the page to render if the pagination is enabled * @category Pagination */ export declare const gridPageSelector: import("../../..").OutputSelector<GridStateCommunity, number>; /** * Get the maximum amount of rows to display on a single page if the pagination is enabled * @category Pagination */ export declare const gridPageSizeSelector: import("../../..").OutputSelector<GridStateCommunity, number>; /** * Get the amount of pages needed to display all the rows if the pagination is enabled * @category Pagination */ export declare const gridPageCountSelector: import("../../..").OutputSelector<GridStateCommunity, number>; /** * Get the index of the first and the last row to include in the current page if the pagination is enabled. * @category Pagination */ export declare const gridPaginationRowRangeSelector: import("../../..").OutputSelector<GridStateCommunity, { firstRowIndex: number; lastRowIndex: number; } | null>; /** * Get the id and the model of each row to include in the current page if the pagination is enabled. * @category Pagination */ export declare const gridPaginatedVisibleSortedGridRowEntriesSelector: import("../../..").OutputSelector<GridStateCommunity, import("../../..").GridRowEntry<GridValidRowModel>[]>; /** * Get the id of each row to include in the current page if the pagination is enabled. * @category Pagination */ export declare const gridPaginatedVisibleSortedGridRowIdsSelector: import("../../..").OutputSelector<GridStateCommunity, import("../../..").GridRowId[]>; /** * Get the rows, range and rowIndex lookup map after filtering and sorting. * Does not contain the collapsed children. * @category Pagination */ export declare const gridVisibleRowsSelector: import("../../..").OutputSelector<GridStateCommunity, { rows: import("../../..").GridRowEntry<GridValidRowModel>[]; range: { firstRowIndex: number; lastRowIndex: number; } | null; rowToIndexMap: Map<GridValidRowModel, number>; }>;