@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
15 lines (14 loc) • 660 B
TypeScript
import { GridApi } from "ag-grid-community";
import { IGridTotalsRow } from "./agGridTypes";
import { IGetPage } from "../base/VisualizationLoadingHOC";
export declare const areTotalsChanged: (gridApi: GridApi, newTotals: IGridTotalsRow[]) => boolean;
export declare const isInvalidGetRowsRequest: (startRow: number, gridApi: GridApi) => boolean;
/**
* Ensures getPage request is cached due current life-cycle of PivotTable,
* when sorting has to be computed after first getPage request which means the same code is called twice
*
* See ticket: BB-1526
*
* @param getPage
*/
export declare const wrapGetPageWithCaching: (getPage: IGetPage) => IGetPage;