Version: 2.0.02.0.12.1.02.1.12.1.22.1.32.2.02.3.02.3.12.3.22.3.32.3.42.3.52.3.62.3.73.0.03.1.03.1.13.1.23.2.03.2.13.2.23.3.0-alpha.13.3.03.3.23.3.34.0.04.0.24.0.34.0.44.0.54.1.04.1.14.1.24.1.34.1.44.1.54.2.04.2.14.2.24.2.44.2.54.2.64.2.75.0.0-alpha.05.0.0-alpha.25.0.0-alpha.35.0.0-alpha.45.0.0-alpha.55.0.0-alpha.65.0.05.0.15.0.25.0.35.0.45.0.55.0.65.0.75.1.05.1.25.2.05.3.05.3.15.4.06.0.06.0.16.1.06.2.06.2.16.3.06.4.06.4.16.4.27.0.07.0.27.1.07.2.07.2.17.2.28.0.08.0.18.1.08.1.18.2.09.0.09.0.29.0.39.1.010.0.010.0.110.0.2-beta.110.0.2-beta.210.0.2-beta.310.1.011.0.012.0.012.0.112.0.213.0.013.0.113.0.213.1.013.1.113.1.213.2.013.3.013.3.114.0.014.0.114.1.014.1.114.2.015.0.016.0.016.0.117.0.017.1.017.1.118.0.018.0.118.1.018.1.118.1.2-beta.118.1.218.1.3-beta.1
// Type definitions for ag-grid v18.1.2
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
/** Datasource used by both PaginationController and InfiniteRowModel */
export interface IDatasource {
/** If you know up front how many rows are in the dataset, set it here. Otherwise leave blank.*/
rowCount?: number;
/** Callback the grid calls that you implement to fetch rows from the server. See below for params.*/
getRows(params: IGetRowsParams): void;
destroy?(): void;
}
/** Params for the above IDatasource.getRows() */
export interface IGetRowsParams {
/** The first row index to get. */
startRow: number;
/** The first row index to NOT get. */
endRow: number;
/** Callback to call for the result when successful. */
successCallback(rowsThisBlock: any[], lastRow?: number): void;
/** Callback to call when the request fails. */
failCallback(): void;
/** If doing server side sorting, contains the sort model */
sortModel: any;
/** If doing server side filtering, contains the filter model */
filterModel: any;
/** The grid context object */
context: any;