ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
36 lines (35 loc) • 995 B
TypeScript
import type { Bean } from '../context/bean';
export interface IServerSideStore extends Bean {
getStoreBounds(): {
topPx: number;
heightPx: number;
};
}
export interface StoreRefreshAfterParams {
valueColChanged: boolean;
secondaryColChanged: boolean;
changedColumns: string[];
}
export interface ServerSideGroupLevelState {
/** The route that identifies this level. */
route: string[];
/** How many rows the level has. This includes 'loading rows'. */
rowCount: number;
/**
* Infinite Scroll only.
* Whether the last row index is know.
* */
lastRowIndexKnown?: boolean;
/** Any extra info provided to the level, when data was loaded. */
info?: any;
/**
*Infinite Scroll only.
* Max blocks allowed in the infinite cache.
*/
maxBlocksInCache?: number;
/**
* Infinite Scroll only.
* The size (number of rows) of each infinite cache block.
*/
cacheBlockSize?: number;
}