Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ag-grid-community

Package Overview
Dependencies
Maintainers
4
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-grid-community - npm Package Compare versions

Comparing version 27.2.1 to 27.3.0-beta.0

dist/ag-grid-community.auto.complete.esm.js

6

dist/lib/cellNavigationService.d.ts

@@ -7,5 +7,8 @@ import { BeanStub } from "./context/beanStub";

private rowModel;
private rowRenderer;
private pinnedRowModel;
private paginationProxy;
getNextCellToFocus(key: string, lastCellToFocus: CellPosition): CellPosition | null;
getNextCellToFocus(key: string, focusedCell: CellPosition, ctrlPressed?: boolean): CellPosition | null;
private getNextCellToFocusWithCtrlPressed;
private getNextCellToFocusWithoutCtrlPressed;
private isCellGoodToFocusOn;

@@ -15,2 +18,3 @@ private getCellToLeft;

getRowBelow(rowPosition: RowPosition): RowPosition | null;
private getNextStickyPosition;
private getCellBelow;

@@ -17,0 +21,0 @@ private isLastRowInContainer;

22

dist/lib/columns/columnApi.d.ts

@@ -24,2 +24,4 @@ import { ColDef, ColGroupDef } from "../entities/colDef";

getColumn(key: any): Column | null;
/** Returns all the columns, regardless of visible or not. */
getColumns(): Column[] | null;
/** Applies the state of the columns from a previous state. Returns `false` if one or more columns could not be found. */

@@ -61,6 +63,4 @@ applyColumnState(params: ApplyColumnStateParams): boolean;

setColumnsPinned(keys: (string | Column)[], pinned: string): void;
/** Returns all the columns, regardless of visible or not. */
getAllColumns(): Column[] | null;
/**
* Returns all the grid columns, same as `getAllColumns()`, except
* Returns all the grid columns, same as `getColumns()`, except
*

@@ -103,4 +103,6 @@ * a) it has the order of the columns that are presented in the grid

isPivotMode(): boolean;
/** Returns the pivot column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
/** @deprecated Use `getPivotResultColumn` instead */
getSecondaryPivotColumn(pivotKeys: string[], valueColKey: string | Column): Column | null;
/** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */
getPivotResultColumn(pivotKeys: string[], valueColKey: string | Column): Column | null;
/** Set the value columns. */

@@ -156,9 +158,15 @@ setValueColumns(colKeys: (string | Column)[]): void;

autoSizeAllColumns(skipHeader?: boolean): void;
/** Set the secondary pivot columns. */
/** @deprecated Use `setPivotResultColumns` instead. */
setSecondaryColumns(colDefs: (ColDef | ColGroupDef)[]): void;
/** Returns the grid's secondary columns. */
/** Set the pivot result columns. */
setPivotResultColumns(colDefs: (ColDef | ColGroupDef)[]): void;
/** @deprecated Use `getPivotResultColumns` instead. */
getSecondaryColumns(): Column[] | null;
/** Returns the grid's primary columns. */
/** Returns the grid's pivot result columns. */
getPivotResultColumns(): Column[] | null;
/** @deprecated Use `getColumns` instead. */
getPrimaryColumns(): Column[] | null;
private cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid;
/** @deprecated Use `getColumns` instead */
getAllColumns(): Column[] | null;
/** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */

@@ -165,0 +173,0 @@ columnGroupOpened(group: ProvidedColumnGroup | string, newValue: boolean): void;

@@ -33,3 +33,3 @@ import { ColumnGroup } from '../entities/columnGroup';

/** Set if column is pinned */
pinned?: boolean | string | 'left' | 'right' | null;
pinned?: boolean | 'left' | 'right' | null;
/** True if row group active */

@@ -109,2 +109,3 @@ rowGroup?: boolean | null;

private groupDisplayColumns;
private groupDisplayColumnsMap;
private ready;

@@ -215,2 +216,4 @@ private logger;

doesMovePassRules(columnsToMove: Column[], toIndex: number): boolean;
doesOrderPassRules(gridOrder: Column[]): boolean;
getProposedColumnOrder(columnsToMove: Column[], toIndex: number): Column[];
sortColumnsLikeGridColumns(cols: Column[]): void;

@@ -274,2 +277,3 @@ doesMovePassLockedPositions(proposedColumnOrder: Column[]): boolean;

private getColumn;
getSourceColumnsForGroupColumn(groupCol: Column): Column[] | null;
private getAutoColumn;

@@ -303,2 +307,3 @@ private columnsMatch;

getGroupDisplayColumns(): Column[];
getGroupDisplayColumnForGroup(rowGroupColumnId: string): Column;
private updateDisplayedColumns;

@@ -350,2 +355,5 @@ isSecondaryColumnsPresent(): boolean;

getFirstDisplayedColumn(): Column | null;
setColumnHeaderHeight(col: Column, height: number): void;
getColumnGroupHeaderRowHeight(): number;
getColumnHeaderRowHeight(): number;
}

@@ -12,2 +12,7 @@ export declare class KeyCode {

static DELETE: string;
static F2: string;
static PAGE_UP: string;
static PAGE_DOWN: string;
static PAGE_HOME: string;
static PAGE_END: string;
static A: string;

@@ -19,7 +24,2 @@ static C: string;

static Y: string;
static F2: string;
static PAGE_UP: string;
static PAGE_DOWN: string;
static PAGE_HOME: string;
static PAGE_END: string;
}

@@ -20,2 +20,5 @@ import { GridCtrl } from "./gridComp/gridCtrl";

topRightRowContainerCtrl: RowContainerCtrl;
stickyTopCenterRowContainerCtrl: RowContainerCtrl;
stickyTopLeftRowContainerCtrl: RowContainerCtrl;
stickyTopRightRowContainerCtrl: RowContainerCtrl;
fakeHScrollCtrl: FakeHScrollCtrl;

@@ -40,2 +43,5 @@ gridHeaderCtrl: GridHeaderCtrl;

private topRightRowContainerCtrl;
private stickyTopCenterRowContainerCtrl;
private stickyTopLeftRowContainerCtrl;
private stickyTopRightRowContainerCtrl;
private centerHeaderRowContainerCtrl;

@@ -59,2 +65,5 @@ private leftHeaderRowContainerCtrl;

registerTopRightRowContainerCtrl(ctrl: RowContainerCtrl): void;
registerStickyTopCenterRowContainerCtrl(ctrl: RowContainerCtrl): void;
registerStickyTopLeftRowContainerCon(ctrl: RowContainerCtrl): void;
registerStickyTopRightRowContainerCtrl(ctrl: RowContainerCtrl): void;
registerBottomCenterRowContainerCtrl(ctrl: RowContainerCtrl): void;

@@ -72,2 +81,3 @@ registerBottomLeftRowContainerCtrl(ctrl: RowContainerCtrl): void;

getBottomCenterRowContainerCtrl(): RowContainerCtrl;
getStickyTopCenterRowContainerCtrl(): RowContainerCtrl;
getGridBodyCtrl(): GridBodyCtrl;

@@ -74,0 +84,0 @@ getHeaderRowContainerCtrls(): HeaderRowContainerCtrl[];

@@ -72,2 +72,10 @@ import { BeanStub } from "../context/beanStub";

onDragStopped?: () => void;
/**
* Callback for entering the grid
*/
onGridEnter?: (dragItem: DragItem | null) => void;
/**
* Callback for exiting the grid
*/
onGridExit?: (dragItem: DragItem | null) => void;
}

@@ -162,7 +170,8 @@ export interface DropTarget {

private onDragging;
private enterDragTargetIfExists;
private leaveLastTargetIfExists;
private getAllContainersFromDropTarget;
private allContainersIntersect;
private isMouseOnDropTarget;
private findCurrentDropTarget;
private enterDragTargetIfExists;
private leaveLastTargetIfExists;
addDropTarget(dropTarget: DropTarget): void;

@@ -169,0 +178,0 @@ removeDropTarget(dropTarget: DropTarget): void;

@@ -46,5 +46,5 @@ import { CellClickedEvent, CellContextMenuEvent, CellDoubleClickedEvent } from "../events";

/** Configuration options for column groups in AG Grid. */
export interface ColGroupDef extends AbstractColDef {
export interface ColGroupDef<TData = any> extends AbstractColDef {
/** A list containing a mix of columns and column groups. */
children: (ColDef | ColGroupDef)[];
children: (ColDef<TData> | ColGroupDef<TData>)[];
/** The unique ID to give the column. This is optional. If missing, a unique ID will be generated. This ID is used to identify the column group in the column API. */

@@ -69,3 +69,3 @@ groupId?: string;

}
export interface IAggFuncParams extends AgGridCommon {
export interface IAggFuncParams<TData = any> extends AgGridCommon<TData> {
/** Values to aggregate */

@@ -76,9 +76,9 @@ values: any[];

/** ColDef of the aggregation column */
colDef: ColDef;
colDef: ColDef<TData>;
/** The parent RowNode, where the aggregation result will be shown */
rowNode: RowNode;
rowNode: RowNode<TData>;
/** data (if any) of the parent RowNode */
data: any;
}
export interface HeaderClassParams extends AgGridCommon {
export interface HeaderClassParams<TData = any> extends AgGridCommon<TData> {
colDef: AbstractColDef;

@@ -89,3 +89,3 @@ column?: Column | null;

export declare type HeaderClass = string | string[] | ((params: HeaderClassParams) => string | string[] | undefined);
export interface ToolPanelClassParams extends AgGridCommon {
export interface ToolPanelClassParams<TData = any> extends AgGridCommon<TData> {
colDef: AbstractColDef;

@@ -97,3 +97,3 @@ column?: Column | null;

/** Configuration options for columns in AG Grid. */
export interface ColDef extends AbstractColDef, IFilterDef {
export interface ColDef<TData = any> extends AbstractColDef, IFilterDef {
/** The unique ID to give the column. This is optional. If missing, the ID will default to the field.

@@ -103,3 +103,6 @@ * If both field and colId are missing, a unique ID will be generated.

colId?: string;
/** The field of the row to get the cells data from */
/**
* The field of the row object to get the cell's data from.
* Deep references into a row object is supported via dot notation, i.e `'address.firstLine'`.
*/
field?: string;

@@ -112,5 +115,5 @@ /**

/** Function or expression. Gets the value from your data for display. */
valueGetter?: string | ValueGetterFunc;
valueGetter?: string | ValueGetterFunc<TData>;
/** A function or expression to format a value, should return a string. Not used for CSV export or copy to clipboard, only for UI cell rendering. */
valueFormatter?: string | ValueFormatterFunc;
valueFormatter?: string | ValueFormatterFunc<TData>;
/** Provided a reference data map to be used to map column values to their respective value from the map. */

@@ -124,3 +127,3 @@ refData?: {

* When filtering and searching the string is exposed to the user, so make sure to return a human-readable value. */
keyCreator?: (params: KeyCreatorParams) => string;
keyCreator?: (params: KeyCreatorParams<TData>) => string;
/**

@@ -139,3 +142,3 @@ * Custom comparator for values, used by renderer to know if values have changed. Cells who's values have not changed don't get refreshed.

/** `boolean` or `Function`. Set to `true` (or return `true` from function) to render a selection checkbox in the column. Default: `false` */
checkboxSelection?: boolean | CheckboxSelectionCallback;
checkboxSelection?: boolean | CheckboxSelectionCallback<TData>;
/** Icons to use inside the column instead of the grid's default icons. Leave undefined to use defaults. */

@@ -150,5 +153,5 @@ icons?: {

*/
suppressNavigable?: boolean | SuppressNavigableCallback;
suppressNavigable?: boolean | SuppressNavigableCallback<TData>;
/** Allows the user to suppress certain keyboard events in the grid cell. Default: `false` */
suppressKeyboardEvent?: (params: SuppressKeyboardEventParams) => boolean;
suppressKeyboardEvent?: (params: SuppressKeyboardEventParams<TData>) => boolean;
/**

@@ -158,3 +161,3 @@ * Pasting is on by default as long as cells are editable (non-editable cells cannot be modified, even with a paste operation).

*/
suppressPaste?: boolean | SuppressPasteCallback;
suppressPaste?: boolean | SuppressPasteCallback<TData>;
/** Set to true to prevent the fillHandle from being rendered in any cell that belongs to this column */

@@ -173,7 +176,7 @@ suppressFillHandle?: boolean;

/** Set to `true` if this column is editable, otherwise `false`. Can also be a function to have different rows editable. Default: `false` */
editable?: boolean | EditableCallback;
editable?: boolean | EditableCallback<TData>;
/** Function or expression. Sets the value into your data for saving. Return `true` if the data changed. */
valueSetter?: string | ValueSetterFunc;
valueSetter?: string | ValueSetterFunc<TData>;
/** Function or expression. Parses the value for saving. */
valueParser?: string | ValueParserFunc;
valueParser?: string | ValueParserFunc<TData>;
/**

@@ -189,7 +192,7 @@ * Provide your own cell editor component for this column's cells.

/** Callback to select which cell editor to be used for a given row within the same column. */
cellEditorSelector?: CellEditorSelectorFunc;
cellEditorSelector?: CellEditorSelectorFunc<TData>;
/** Set to `true` to have cells under this column enter edit mode after single click. Default: `false` */
singleClickEdit?: boolean;
/** @deprecated use `valueSetter` instead */
newValueHandler?: (params: NewValueParams) => boolean;
newValueHandler?: (params: NewValueParams<TData>) => boolean;
/**

@@ -207,16 +210,22 @@ * Set to `true`, to have the cell editor appear in a popup.

/** Callback for after the value of a cell has changed, either due to editing or the application calling `api.setValue()`. */
onCellValueChanged?: (event: NewValueParams) => void;
onCellValueChanged?: (event: NewValueParams<TData>) => void;
/** Callback called when a cell is clicked. */
onCellClicked?: (event: CellClickedEvent) => void;
onCellClicked?: (event: CellClickedEvent<TData>) => void;
/** Callback called when a cell is double clicked. */
onCellDoubleClicked?: (event: CellDoubleClickedEvent) => void;
onCellDoubleClicked?: (event: CellDoubleClickedEvent<TData>) => void;
/** Callback called when a cell is right clicked. */
onCellContextMenu?: (event: CellContextMenuEvent) => void;
onCellContextMenu?: (event: CellContextMenuEvent<TData>) => void;
/** A function to tell the grid what quick filter text to use for this column if you don't want to use the default (which is calling `toString` on the value). */
getQuickFilterText?: (params: GetQuickFilterTextParams) => string;
getQuickFilterText?: (params: GetQuickFilterTextParams<TData>) => string;
/** Function or expression. Gets the value for filtering purposes. */
filterValueGetter?: string | ValueGetterFunc;
filterValueGetter?: string | ValueGetterFunc<TData>;
/** Whether to display a floating filter for this column. Default: `false` */
floatingFilter?: boolean;
/** */
/** If enabled then column header names that are too long for the column width will wrap onto the next line. Default `false` */
wrapHeaderText?: boolean;
/** If enabled then the column header row will automatically adjust height to acommodate the size of the header cell.
* This can be useful when using your own `headerComponent` or long header names in conjunction with `wrapHeaderText`.
* Default: `false`
*/
autoHeaderHeight?: boolean;
/**

@@ -247,5 +256,5 @@ * The custom header component to be used for rendering the component header. If none specified the default AG Grid header component is used.

/** Pin a column to one side: `right` or `left`. A value of `true` is converted to `'left'`. */
pinned?: boolean | string | null;
pinned?: boolean | 'left' | 'right' | null;
/** Same as `pinned`, except only applied when creating a new column. Not applied when updating column definitions. */
initialPinned?: boolean | string;
initialPinned?: boolean | 'left' | 'right';
/** Set to true to block the user pinning the column, the column can only be pinned via definitions or API. Default: `false` */

@@ -262,3 +271,3 @@ lockPinned?: boolean;

/** @deprecated Use valueFormatter for pinned rows, and check params.node.rowPinned. */
pinnedRowValueFormatter?: string | ValueFormatterFunc;
pinnedRowValueFormatter?: string | ValueFormatterFunc<TData>;
/** Set to true to pivot by this column. */

@@ -284,7 +293,7 @@ pivot?: boolean;

/** An object of css values / or function returning an object of css values for a particular cell. */
cellStyle?: CellStyle | CellStyleFunc;
cellStyle?: CellStyle | CellStyleFunc<TData>;
/** Class to use for the cell. Can be string, array of strings, or function that returns a string or array of strings. */
cellClass?: string | string[] | CellClassFunc;
cellClass?: string | string[] | CellClassFunc<TData>;
/** Rules which can be applied to include certain CSS classes. */
cellClassRules?: CellClassRules;
cellClassRules?: CellClassRules<TData>;
/**

@@ -300,3 +309,3 @@ * Provide your own cell Renderer component for this column's cells.

/** Callback to select which cell renderer to be used for a given row within the same column. */
cellRendererSelector?: CellRendererSelectorFunc;
cellRendererSelector?: CellRendererSelectorFunc<TData>;
/** Set to `true` to have the grid calculate the height of a row based on contents of this column. Default: `false` */

@@ -311,3 +320,3 @@ autoHeight?: boolean;

/** `boolean` or `Function`. Set to `true` (or return `true` from function) to allow row dragging. Default: `false` */
rowDrag?: boolean | RowDragCallback;
rowDrag?: boolean | RowDragCallback<TData>;
/**

@@ -319,5 +328,5 @@ * A callback that should return a string to be displayed by the `rowDragComp` while dragging a row.

/** `boolean` or `Function`. Set to `true` (or return `true` from function) to allow dragging for native drag and drop. Default: `false` */
dndSource?: boolean | DndSourceCallback;
dndSource?: boolean | DndSourceCallback<TData>;
/** Function to allow custom drag functionality for native drag and drop. */
dndSourceOnRowDrag?: (params: DndSourceOnRowDragParams) => void;
dndSourceOnRowDrag?: (params: DndSourceOnRowDragParams<TData>) => void;
/** Set to `true` to row group by this column. Default: `false` */

@@ -352,2 +361,8 @@ rowGroup?: boolean;

/**
* The name of the aggregation function to use for this column when it is enabled via the GUI.
* Note that this does not immediately apply the aggregation function like `aggFunc`
* Default: `sum`
*/
defaultAggFunc?: string;
/**
* Aggregation functions allowed on this column e.g. `['sum', 'avg']`.

@@ -378,5 +393,5 @@ * If missing, all installed functions are allowed.

/** By default, each cell will take up the width of one column. You can change this behaviour to allow cells to span multiple columns. */
colSpan?: (params: ColSpanParams) => number;
colSpan?: (params: ColSpanParams<TData>) => number;
/** By default, each cell will take up the height of one row. You can change this behaviour to allow cells to span multiple rows. */
rowSpan?: (params: RowSpanParams) => number;
rowSpan?: (params: RowSpanParams<TData>) => number;
/** Initial width in pixels for the cell. */

@@ -405,51 +420,51 @@ width?: number;

}
export interface ColumnFunctionCallbackParams extends AgGridCommon {
export interface ColumnFunctionCallbackParams<TData = any> extends AgGridCommon<TData> {
/** Row node for the given row */
node: RowNode;
/** Data associated with the node */
data: any;
node: RowNode<TData>;
/** Data associated with the node. Will be `undefined` for group rows. */
data: TData | undefined;
/** Column for this callback */
column: Column;
/** ColDef provided for this column */
colDef: ColDef;
colDef: ColDef<TData>;
}
export interface CheckboxSelectionCallbackParams extends ColumnFunctionCallbackParams {
export interface CheckboxSelectionCallbackParams<TData = any> extends ColumnFunctionCallbackParams<TData> {
}
export interface CheckboxSelectionCallback {
(params: CheckboxSelectionCallbackParams): boolean;
export interface CheckboxSelectionCallback<TData = any> {
(params: CheckboxSelectionCallbackParams<TData>): boolean;
}
export interface RowDragCallbackParams extends ColumnFunctionCallbackParams {
export interface RowDragCallbackParams<TData = any> extends ColumnFunctionCallbackParams<TData> {
}
export interface RowDragCallback {
(params: RowDragCallbackParams): boolean;
export interface RowDragCallback<TData = any> {
(params: RowDragCallbackParams<TData>): boolean;
}
export interface DndSourceCallbackParams extends ColumnFunctionCallbackParams {
export interface DndSourceCallbackParams<TData = any> extends ColumnFunctionCallbackParams<TData> {
}
export interface DndSourceOnRowDragParams extends AgGridCommon {
export interface DndSourceOnRowDragParams<TData = any> extends AgGridCommon<TData> {
/** Row node for the given row */
rowNode: RowNode;
rowNode: RowNode<TData>;
/** The DOM event that represents a drag and drop interaction */
dragEvent: DragEvent;
}
export interface DndSourceCallback {
(params: DndSourceCallbackParams): boolean;
export interface DndSourceCallback<TData = any> {
(params: DndSourceCallbackParams<TData>): boolean;
}
export interface EditableCallbackParams extends ColumnFunctionCallbackParams {
export interface EditableCallbackParams<TData = any> extends ColumnFunctionCallbackParams<TData> {
}
export interface EditableCallback {
(params: EditableCallbackParams): boolean;
export interface EditableCallback<TData = any> {
(params: EditableCallbackParams<TData>): boolean;
}
export interface SuppressPasteCallbackParams extends ColumnFunctionCallbackParams {
export interface SuppressPasteCallbackParams<TData = any> extends ColumnFunctionCallbackParams<TData> {
}
export interface SuppressPasteCallback {
(params: SuppressPasteCallbackParams): boolean;
export interface SuppressPasteCallback<TData = any> {
(params: SuppressPasteCallbackParams<TData>): boolean;
}
export interface SuppressNavigableCallbackParams extends ColumnFunctionCallbackParams {
export interface SuppressNavigableCallbackParams<TData = any> extends ColumnFunctionCallbackParams<TData> {
}
export interface SuppressNavigableCallback {
(params: SuppressNavigableCallbackParams): boolean;
export interface SuppressNavigableCallback<TData = any> {
(params: SuppressNavigableCallbackParams<TData>): boolean;
}
export interface HeaderCheckboxSelectionCallbackParams extends AgGridCommon {
export interface HeaderCheckboxSelectionCallbackParams<TData = any> extends AgGridCommon<TData> {
column: Column;
colDef: ColDef;
colDef: ColDef<TData>;
}

@@ -463,4 +478,4 @@ export interface HeaderCheckboxSelectionCallback {

*/
export interface IsColumnFunc {
(params: IsColumnFuncParams): boolean;
export interface IsColumnFunc<TData = any> {
(params: IsColumnFuncParams<TData>): boolean;
}

@@ -471,10 +486,15 @@ /**

*/
export interface IsColumnFuncParams extends ColumnFunctionCallbackParams {
export interface IsColumnFuncParams<TData = any> extends ColumnFunctionCallbackParams<TData> {
}
export interface GetQuickFilterTextParams extends AgGridCommon {
export interface GetQuickFilterTextParams<TData = any> extends AgGridCommon<TData> {
/** Value for the cell. */
value: any;
node: RowNode;
data: any;
/** Row node for the given row */
node: RowNode<TData>;
/** Row data associated with the node. */
data: TData;
/** Column for this callback */
column: Column;
colDef: ColDef;
/** ColDef provided for this column */
colDef: ColDef<TData>;
}

@@ -494,24 +514,30 @@ export interface ColumnsMenuParams {

}
export interface BaseColDefParams extends AgGridCommon {
export interface BaseColDefParams<TData = any> extends AgGridCommon<TData> {
/** Row node for the given row */
node: RowNode | null;
node: RowNode<TData> | null;
/** Data associated with the node */
data: any;
data: TData;
/** Column for this callback */
column: Column;
/** ColDef provided for this column */
colDef: ColDef;
colDef: ColDef<TData>;
}
export interface BaseWithValueColDefParams extends BaseColDefParams {
/** Value for the cell. */
value: any;
export interface BaseColDefOptionalDataParams<TData = any> extends AgGridCommon<TData> {
/** Row node for the given row */
node: RowNode<TData> | null;
/** Data associated with the node */
data: TData | undefined;
/** Column for this callback */
column: Column;
/** ColDef provided for this column */
colDef: ColDef<TData>;
}
export interface ValueGetterParams extends BaseColDefParams {
export interface ValueGetterParams<TData = any> extends BaseColDefOptionalDataParams<TData> {
/** A utility method for getting other column values */
getValue: (field: string) => any;
}
export interface ValueGetterFunc {
(params: ValueGetterParams): any;
export interface ValueGetterFunc<TData = any> {
(params: ValueGetterParams<TData>): any;
}
export interface HeaderValueGetterParams extends AgGridCommon {
export interface HeaderValueGetterParams<TData = any> extends AgGridCommon<TData> {
colDef: AbstractColDef;

@@ -530,3 +556,3 @@ /** Column for this callback if applicable*/

}
export interface NewValueParams extends BaseColDefParams {
export interface NewValueParams<TData = any> extends BaseColDefParams<TData> {
/** The value before the change */

@@ -537,24 +563,28 @@ oldValue: any;

}
export interface ValueSetterParams extends NewValueParams {
export interface ValueSetterParams<TData = any> extends NewValueParams<TData> {
}
export interface ValueSetterFunc {
(params: ValueSetterParams): boolean;
export interface ValueSetterFunc<TData = any> {
(params: ValueSetterParams<TData>): boolean;
}
export interface ValueParserParams extends NewValueParams {
export interface ValueParserParams<TData = any> extends NewValueParams<TData> {
}
export interface ValueParserFunc {
(params: ValueParserParams): any;
export interface ValueParserFunc<TData = any> {
(params: ValueParserParams<TData>): any;
}
export interface ValueFormatterParams extends BaseWithValueColDefParams {
export interface ValueFormatterParams<TData = any> extends BaseColDefOptionalDataParams<TData> {
/** Value for the cell. */
value: any;
}
export interface ValueFormatterFunc {
(params: ValueFormatterParams): string;
export interface ValueFormatterFunc<TData = any> {
(params: ValueFormatterParams<TData>): string;
}
export interface KeyCreatorParams extends BaseWithValueColDefParams {
export interface KeyCreatorParams<TData = any> extends BaseColDefParams<TData> {
/** Value for the cell. */
value: any;
}
export interface ColSpanParams extends BaseColDefParams {
export interface ColSpanParams<TData = any> extends BaseColDefOptionalDataParams<TData> {
}
export interface RowSpanParams extends BaseColDefParams {
export interface RowSpanParams<TData = any> extends BaseColDefOptionalDataParams<TData> {
}
export interface SuppressKeyboardEventParams extends ColumnFunctionCallbackParams {
export interface SuppressKeyboardEventParams<TData = any> extends ColumnFunctionCallbackParams<TData> {
/** The keyboard event the grid received */

@@ -565,3 +595,3 @@ event: KeyboardEvent;

}
export interface SuppressHeaderKeyboardEventParams extends AgGridCommon {
export interface SuppressHeaderKeyboardEventParams<TData = any> extends AgGridCommon<TData> {
column: Column | ColumnGroup;

@@ -574,13 +604,13 @@ colDef: ColDef | ColGroupDef | null;

}
export interface CellClassParams extends RowClassParams {
export interface CellClassParams<TData = any> extends RowClassParams<TData> {
/** The colDef associated with the column for this cell */
colDef: ColDef;
colDef: ColDef<TData>;
/** The value to be rendered */
value: any;
}
export interface CellClassFunc {
(cellClassParams: CellClassParams): string | string[] | null | undefined;
export interface CellClassFunc<TData = any> {
(cellClassParams: CellClassParams<TData>): string | string[] | null | undefined;
}
export interface CellStyleFunc {
(cellClassParams: CellClassParams): CellStyle | null | undefined;
export interface CellStyleFunc<TData = any> {
(cellClassParams: CellClassParams<TData>): CellStyle | null | undefined;
}

@@ -590,10 +620,10 @@ export interface CellStyle {

}
export interface CellClassRules {
[cssClassName: string]: (((params: CellClassParams) => boolean) | string);
export interface CellClassRules<TData = any> {
[cssClassName: string]: (((params: CellClassParams<TData>) => boolean) | string);
}
export interface CellRendererSelectorFunc {
(params: ICellRendererParams): CellRendererSelectorResult | undefined;
export interface CellRendererSelectorFunc<TData = any> {
(params: ICellRendererParams<TData>): CellRendererSelectorResult | undefined;
}
export interface CellEditorSelectorFunc {
(params: ICellEditorParams): CellEditorSelectorResult | undefined;
export interface CellEditorSelectorFunc<TData = any> {
(params: ICellEditorParams<TData>): CellEditorSelectorResult | undefined;
}

@@ -600,0 +630,0 @@ export interface CellRendererSelectorResult {

@@ -33,2 +33,3 @@ import { IHeaderColumn } from "./iHeaderColumn";

private actualWidth;
private autoHeaderHeight;
private visible;

@@ -95,2 +96,3 @@ private pinned;

isAutoHeight(): boolean;
isAutoHeaderHeight(): boolean;
isRowDrag(rowNode: RowNode): boolean;

@@ -126,3 +128,3 @@ isDndSource(rowNode: RowNode): boolean;

setFilterActive(active: boolean, source?: ColumnEventType, additionalEventAttributes?: any): void;
setPinned(pinned: string | boolean | null | undefined): void;
setPinned(pinned: 'left' | 'right' | boolean | null | undefined): void;
setFirstRightPinned(firstRightPinned: boolean, source?: ColumnEventType): void;

@@ -163,2 +165,5 @@ setLastLeftPinned(lastLeftPinned: boolean, source?: ColumnEventType): void;

getActualWidth(): number;
getAutoHeaderHeight(): number | null;
/** Returns true if the header height has changed */
setAutoHeaderHeight(height: number): boolean;
private createBaseColDefParams;

@@ -165,0 +170,0 @@ getColSpan(rowNode: RowNode): number;

@@ -8,3 +8,3 @@ import { HeaderPosition } from "../headerRendering/common/headerPosition";

import { RowNode } from "./rowNode";
export interface GetContextMenuItemsParams extends AgGridCommon {
export interface GetContextMenuItemsParams<TData = any> extends AgGridCommon<TData> {
/** Names of the items that would be provided by default. */

@@ -15,7 +15,7 @@ defaultItems: string[] | undefined;

/** The row node, if a cell was clicked, otherwise null. */
node: RowNode | null;
node: RowNode<TData> | null;
/** The value, if a cell was clicked, otherwise null. */
value: any;
}
export interface GetMainMenuItemsParams extends AgGridCommon {
export interface GetMainMenuItemsParams<TData = any> extends AgGridCommon<TData> {
/** The column that was clicked */

@@ -26,7 +26,7 @@ column: Column;

}
export interface PostProcessPopupParams extends AgGridCommon {
export interface PostProcessPopupParams<TData = any> extends AgGridCommon<TData> {
/** If popup is for a column, this gives the Column */
column?: Column | null;
/** If popup is for a row, this gives the RowNode */
rowNode?: RowNode | null;
rowNode?: RowNode<TData> | null;
/** The popup we are showing */

@@ -44,13 +44,13 @@ ePopup: HTMLElement;

}
export interface SendToClipboardParams extends AgGridCommon {
export interface SendToClipboardParams<TData = any> extends AgGridCommon<TData> {
data: string;
}
export interface ProcessDataFromClipboardParams extends AgGridCommon {
export interface ProcessDataFromClipboardParams<TData = any> extends AgGridCommon<TData> {
/** 2D array of all cells from the clipboard */
data: string[][];
}
export interface GetChartToolbarItemsParams extends AgGridCommon {
export interface GetChartToolbarItemsParams<TData = any> extends AgGridCommon<TData> {
defaultItems?: ChartMenuOptions[];
}
export interface NavigateToNextHeaderParams extends AgGridCommon {
export interface NavigateToNextHeaderParams<TData = any> extends AgGridCommon<TData> {
/** The key for the arrow key pressed,

@@ -67,3 +67,3 @@ * left = 'ArrowLeft', up = 'ArrowUp', right = 'ArrowRight', down = 'ArrowDown' */

}
export interface TabToNextHeaderParams extends AgGridCommon {
export interface TabToNextHeaderParams<TData = any> extends AgGridCommon<TData> {
/** True if the Shift key is also down */

@@ -78,3 +78,3 @@ backwards: boolean;

}
export interface TabToNextCellParams extends AgGridCommon {
export interface TabToNextCellParams<TData = any> extends AgGridCommon<TData> {
/** True if the Shift key is also down */

@@ -90,3 +90,3 @@ backwards: boolean;

}
export interface NavigateToNextCellParams extends AgGridCommon {
export interface NavigateToNextCellParams<TData = any> extends AgGridCommon<TData> {
/** The keycode for the arrow key pressed:

@@ -101,8 +101,8 @@ * left = 'ArrowLeft', up = 'ArrowUp', right = 'ArrowRight', down = 'ArrowDown' */

}
export interface PaginationNumberFormatterParams extends AgGridCommon {
export interface PaginationNumberFormatterParams<TData = any> extends AgGridCommon<TData> {
value: number;
}
export interface IsGroupOpenByDefaultParams extends AgGridCommon {
export interface IsGroupOpenByDefaultParams<TData = any> extends AgGridCommon<TData> {
/** The row node being considered. */
rowNode: RowNode;
rowNode: RowNode<TData>;
/** The Column for which this row is grouping. */

@@ -117,3 +117,3 @@ rowGroupColumn: Column;

}
export interface GetServerSideStoreParamsParams extends AgGridCommon {
export interface GetServerSideGroupLevelParamsParams extends AgGridCommon<any> {
/** The level of the store. Top level is 0. */

@@ -130,7 +130,10 @@ level: number;

}
export interface IsServerSideGroupOpenByDefaultParams extends AgGridCommon {
/** @deprecated use GetServerSideGroupLevelParamsParams instead */
export interface GetServerSideStoreParamsParams extends GetServerSideGroupLevelParamsParams {
}
export interface IsServerSideGroupOpenByDefaultParams extends AgGridCommon<any> {
data: any;
rowNode: RowNode;
}
export interface IsApplyServerSideTransactionParams extends AgGridCommon {
export interface IsApplyServerSideTransactionParams extends AgGridCommon<any> {
/** The transaction getting applied. */

@@ -140,7 +143,10 @@ transaction: ServerSideTransaction;

parentNode: RowNode;
/** @deprecated use groupLevelInfo instead */
storeInfo: any;
/** Store info, if any, as passed via the success() callback when loading data. */
groupLevelInfo: any;
}
export interface GetRowIdParams extends AgGridCommon {
export interface GetRowIdParams<TData = any> extends AgGridCommon<TData> {
/** The data item provided to the grid for the row in question */
data: any;
data: TData;
/** If grouping, the level, ie how many levels from the top. Used by ServerSide Row Model only */

@@ -151,3 +157,3 @@ level: number;

}
export interface ProcessRowParams extends AgGridCommon {
export interface ProcessRowParams<TData = any> extends AgGridCommon<TData> {
eRow: HTMLElement;

@@ -157,6 +163,6 @@ ePinnedLeftRow: HTMLElement;

rowIndex: number;
node: RowNode;
node: RowNode<TData>;
addRenderedRowListener: (eventType: string, listener: Function) => void;
}
export interface FillOperationParams extends AgGridCommon {
export interface FillOperationParams<TData = any> extends AgGridCommon<TData> {
/** The mouse event for the fill operation. */

@@ -167,3 +173,3 @@ event: MouseEvent;

/** The RowNode of the current cell being changed. */
rowNode: RowNode;
rowNode: RowNode<TData>;
/** The Column of the current cell being changed. */

@@ -180,22 +186,24 @@ column: Column;

}
export interface RowHeightParams extends AgGridCommon {
data: any;
node: RowNode;
export interface RowHeightParams<TData = any> extends AgGridCommon<TData> {
/** The data associated with this row from rowData. Data is `undefined` for row groups. */
data: TData | undefined;
/** The RowNode of the row in question. */
node: RowNode<TData>;
}
export interface IsExternalFilterPresentParams extends AgGridCommon {
export interface IsExternalFilterPresentParams<TData = any> extends AgGridCommon<TData> {
}
export interface InitialGroupOrderComparatorParams extends AgGridCommon {
nodeA: RowNode;
nodeB: RowNode;
export interface InitialGroupOrderComparatorParams<TData = any> extends AgGridCommon<TData> {
nodeA: RowNode<TData>;
nodeB: RowNode<TData>;
}
export interface GetGroupRowAggParams extends AgGridCommon {
nodes: RowNode[];
export interface GetGroupRowAggParams<TData = any> extends AgGridCommon<TData> {
nodes: RowNode<TData>[];
}
export interface PostSortRowsParams extends AgGridCommon {
nodes: RowNode[];
export interface PostSortRowsParams<TData = any> extends AgGridCommon<TData> {
nodes: RowNode<TData>[];
}
export interface IsFullWidthRowParams extends AgGridCommon {
rowNode: RowNode;
export interface IsFullWidthRowParams<TData = any> extends AgGridCommon<TData> {
rowNode: RowNode<TData>;
}
export interface GetLocaleTextParams extends AgGridCommon {
export interface GetLocaleTextParams<TData = any> extends AgGridCommon<TData> {
key: string;

@@ -205,4 +213,4 @@ defaultValue: string;

}
export interface GetGroupAggFilteringParams extends AgGridCommon {
node: RowNode;
export interface GetGroupAggFilteringParams<TData = any> extends AgGridCommon<TData> {
node: RowNode<TData>;
}

@@ -14,14 +14,14 @@ import { AgEvent } from "../events";

}
export interface RowNodeEvent extends AgEvent {
node: RowNode;
export interface RowNodeEvent<TData = any> extends AgEvent {
node: RowNode<TData>;
}
export interface DataChangedEvent extends RowNodeEvent {
oldData: any;
newData: any;
export interface DataChangedEvent<TData = any> extends RowNodeEvent<TData> {
oldData: TData | undefined;
newData: TData | undefined;
update: boolean;
}
export interface CellChangedEvent extends RowNodeEvent {
export interface CellChangedEvent<TData = any> extends RowNodeEvent<TData> {
column: Column;
newValue: any;
oldValue: any;
newValue: TData | undefined;
oldValue: TData | undefined;
}

@@ -32,3 +32,3 @@ export declare enum RowHighlightPosition {

}
export declare class RowNode implements IEventEmitter {
export declare class RowNode<TData = any> implements IEventEmitter {
static ID_PREFIX_ROW_GROUP: string;

@@ -67,6 +67,9 @@ static ID_PREFIX_TOP_PINNED: string;

aggData: any;
/** The data as provided by the application. */
data: any;
/**
* The data as provided by the application.
* Can be `undefined` when using row grouping or during grid initialisation.
*/
data: TData | undefined;
/** The parent node to this node, or empty if top level */
parent: RowNode | null;
parent: RowNode<TData> | null;
/** How many levels this node is from the top when grouping. */

@@ -105,2 +108,6 @@ level: number;

rowPinned: string;
/** When true, this row will appear in the top */
sticky: boolean;
/** If row is pinned, then pinnedRowTop is used rather than rowTop */
stickyRowTop: number;
/** If using quick filter, stores a string representation of the row for searching against. */

@@ -121,11 +128,11 @@ quickFilterAggregateText: string | null;

/** All lowest level nodes beneath this node, no groups. */
allLeafChildren: RowNode[];
allLeafChildren: RowNode<TData>[];
/** Children of this group. If multi levels of grouping, shows only immediate children. */
childrenAfterGroup: RowNode[] | null;
childrenAfterGroup: RowNode<TData>[] | null;
/** Filtered children of this group. */
childrenAfterFilter: RowNode[] | null;
childrenAfterFilter: RowNode<TData>[] | null;
/** Aggregated and re-filtered children of this group. */
childrenAfterAggFilter: RowNode[] | null;
childrenAfterAggFilter: RowNode<TData>[] | null;
/** Sorted children of this group. */
childrenAfterSort: RowNode[] | null;
childrenAfterSort: RowNode<TData>[] | null;
/** Number of children and grand children. */

@@ -188,6 +195,7 @@ allChildrenCount: number | null;

private checkAutoHeightsDebounced;
private onRowHeightChangedDebounced;
constructor(beans: Beans);
/** Replaces the data on the `rowNode`. When complete, the grid will refresh the the entire rendered row if it is showing. */
setData(data: any): void;
updateData(data: any): void;
setData(data: TData): void;
updateData(data: TData): void;
private setDataCommon;

@@ -199,3 +207,3 @@ private updateDataOnDetailNode;

private createDaemonNode;
setDataAndId(data: any, id: string | undefined): void;
setDataAndId(data: TData, id: string | undefined): void;
private checkRowSelectable;

@@ -224,5 +232,15 @@ setRowSelectable(newVal: boolean): void;

checkAutoHeights(): void;
/** This method is debounced. It is used for row auto-height. If we don't debounce,
* then the Row Models will end up recalculating each row position
* for each row height change and result in the Row Renderer laying out rows.
* This is particularly bad if using print layout, and showing eg 1,000 rows,
* each row will change it's height, causing Row Model to update 1,000 times.
*/
private onRowHeightChanged;
setRowIndex(rowIndex: number | null): void;
setUiLevel(uiLevel: number): void;
setExpanded(expanded: boolean): void;
/**
* Set the expanded state of this rowNode. Pass `true` to expand and `false` to collapse.
*/
setExpanded(expanded: boolean, e?: MouseEvent | KeyboardEvent): void;
private createGlobalRowEvent;

@@ -260,4 +278,4 @@ private dispatchLocalEvent;

/** Perform a depth-first search of this node and its children. */
depthFirstSearch(callback: (rowNode: RowNode) => void): void;
calculateSelectedFromChildren(): void;
depthFirstSearch(callback: (rowNode: RowNode<TData>) => void): void;
calculateSelectedFromChildren(): boolean | undefined | null;
setSelectedInitialValue(selected: boolean): void;

@@ -264,0 +282,0 @@ /**

@@ -19,2 +19,4 @@ import { BeanStub } from "../context/beanStub";

before(rowA: RowPosition, rowB: RowPosition): boolean;
rowMax(rows: RowPosition[]): RowPosition | undefined;
rowMin(rows: RowPosition[]): RowPosition | undefined;
}

@@ -37,3 +37,3 @@ export declare class Events {

static EVENT_ROW_GROUP_OPENED: string;
/** The client has set new data into the grid */
/** @deprecated use EVENT_ROW_DATA_UPDATED instead */
static EVENT_ROW_DATA_CHANGED: string;

@@ -72,2 +72,3 @@ /** The client has updated data for the grid */

static EVENT_CELL_FOCUSED: string;
static EVENT_FULL_WIDTH_ROW_FOCUSED: string;
static EVENT_ROW_SELECTED: string;

@@ -133,2 +134,4 @@ static EVENT_SELECTION_CHANGED: string;

static EVENT_ROW_CONTAINER_HEIGHT_CHANGED: string;
static EVENT_HEADER_HEIGHT_CHANGED: string;
static EVENT_COLUMN_HEADER_HEIGHT_CHANGED: string;
static EVENT_ROW_DRAG_ENTER: string;

@@ -135,0 +138,0 @@ static EVENT_ROW_DRAG_MOVE: string;

@@ -15,3 +15,3 @@ import { RowNode } from './entities/rowNode';

export { Events } from './eventKeys';
export interface ModelUpdatedEvent extends AgGridEvent {
export interface ModelUpdatedEvent<TData = any> extends AgGridEvent<TData> {
/** If true, the grid will try and animate the rows to the new positions */

@@ -29,3 +29,3 @@ animate: boolean | undefined;

}
export interface PaginationChangedEvent extends AgGridEvent {
export interface PaginationChangedEvent<TData = any> extends AgGridEvent<TData> {
/** True if rows were animated to new position */

@@ -44,31 +44,32 @@ animate?: boolean;

}
export interface AgGridEvent extends AgEvent {
api: GridApi;
export interface AgGridEvent<TData> extends AgEvent {
api: GridApi<TData>;
columnApi: ColumnApi;
}
export interface ToolPanelVisibleChangedEvent extends AgGridEvent {
export interface ToolPanelVisibleChangedEvent<TData = any> extends AgGridEvent<TData> {
source: string | undefined;
}
export interface ColumnPivotModeChangedEvent extends AgGridEvent {
export interface ColumnPivotModeChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface VirtualColumnsChangedEvent extends AgGridEvent {
export interface VirtualColumnsChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface ColumnEverythingChangedEvent extends AgGridEvent {
export interface ColumnEverythingChangedEvent<TData = any> extends AgGridEvent<TData> {
source: string;
}
export interface NewColumnsLoadedEvent extends AgGridEvent {
export interface NewColumnsLoadedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface GridColumnsChangedEvent extends AgGridEvent {
export interface GridColumnsChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface DisplayedColumnsChangedEvent extends AgGridEvent {
export interface DisplayedColumnsChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface RowDataChangedEvent extends AgGridEvent {
/** @deprecated use RowDataUpdatedEvent instead */
export interface RowDataChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface RowDataUpdatedEvent extends AgGridEvent {
export interface RowDataUpdatedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface PinnedRowDataChangedEvent extends AgGridEvent {
export interface PinnedRowDataChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface SelectionChangedEvent extends AgGridEvent {
export interface SelectionChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface FilterChangedEvent extends AgGridEvent {
export interface FilterChangedEvent<TData = any> extends AgGridEvent<TData> {
/** True if the filter was changed as a result of data changing */

@@ -88,7 +89,7 @@ afterDataChange?: boolean;

}
export interface FilterModifiedEvent extends AgGridEvent {
export interface FilterModifiedEvent<TData = any> extends AgGridEvent<TData> {
filterInstance: IFilterComp;
column: Column;
}
export interface FilterOpenedEvent extends AgGridEvent {
export interface FilterOpenedEvent<TData = any> extends AgGridEvent<TData> {
/** Column / OriginalColumnGroup that contains the filter */

@@ -101,15 +102,15 @@ column: Column | ProvidedColumnGroup;

}
export interface SortChangedEvent extends AgGridEvent {
export interface SortChangedEvent<TData = any> extends AgGridEvent<TData> {
/** Source of the sort change. */
source: string;
}
export interface GridReadyEvent extends AgGridEvent {
export interface GridReadyEvent<TData = any> extends AgGridEvent<TData> {
}
export interface DisplayedColumnsWidthChangedEvent extends AgGridEvent {
export interface DisplayedColumnsWidthChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface ColumnHoverChangedEvent extends AgGridEvent {
export interface ColumnHoverChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface BodyHeightChangedEvent extends AgGridEvent {
export interface BodyHeightChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface ComponentStateChangedEvent extends AgGridEvent {
export interface ComponentStateChangedEvent<TData = any> extends AgGridEvent<TData> {
}

@@ -121,3 +122,3 @@ export interface ColumnPanelItemDragStartEvent extends AgEvent {

}
export interface DragEvent extends AgGridEvent {
export interface DragEvent<TData = any> extends AgGridEvent<TData> {
/** One of {'cell','row','headerCell','toolPanel'} */

@@ -138,3 +139,3 @@ type: string;

}
export interface GridSizeChangedEvent extends AgGridEvent {
export interface GridSizeChangedEvent<TData = any> extends AgGridEvent<TData> {
/** The grid's DIV's clientWidth */

@@ -145,9 +146,9 @@ clientWidth: number;

}
export interface RowDragEvent extends AgGridEvent {
export interface RowDragEvent<TData = any> extends AgGridEvent<TData> {
/** Event identifier: One of rowDragEnter, rowDragMove, rowDragEnd, rowDragLeave */
type: string;
/** The row node getting dragged. Also the node that started the drag when multi-row dragging. */
node: RowNode;
node: RowNode<TData>;
/** The list of nodes being dragged. */
nodes: RowNode[];
nodes: RowNode<TData>[];
/** The underlying mouse move event associated with the drag. */

@@ -160,3 +161,3 @@ event: MouseEvent;

/** The row node the mouse is dragging over or undefined if over no row. */
overNode?: RowNode;
overNode?: RowNode<TData>;
/** The vertical pixel location the mouse is over, with `0` meaning the top of the first row.

@@ -169,23 +170,23 @@ * This can be compared to the `rowNode.rowHeight` and `rowNode.rowTop` to work out the mouse position relative to rows.

}
export interface RowDragEnterEvent extends RowDragEvent {
export interface RowDragEnterEvent<TData = any> extends RowDragEvent<TData> {
}
export interface RowDragEndEvent extends RowDragEvent {
export interface RowDragEndEvent<TData = any> extends RowDragEvent<TData> {
}
export interface RowDragMoveEvent extends RowDragEvent {
export interface RowDragMoveEvent<TData = any> extends RowDragEvent<TData> {
}
export interface RowDragLeaveEvent extends RowDragEvent {
export interface RowDragLeaveEvent<TData = any> extends RowDragEvent<TData> {
}
export interface PasteStartEvent extends AgGridEvent {
export interface PasteStartEvent<TData = any> extends AgGridEvent<TData> {
source: string;
}
export interface PasteEndEvent extends AgGridEvent {
export interface PasteEndEvent<TData = any> extends AgGridEvent<TData> {
source: string;
}
export interface FillStartEvent extends AgGridEvent {
export interface FillStartEvent<TData = any> extends AgGridEvent<TData> {
}
export interface FillEndEvent extends AgGridEvent {
export interface FillEndEvent<TData = any> extends AgGridEvent<TData> {
initialRange: CellRange;
finalRange: CellRange;
}
export interface ViewportChangedEvent extends AgGridEvent {
export interface ViewportChangedEvent<TData = any> extends AgGridEvent<TData> {
/** Index of the first rendered row */

@@ -196,3 +197,3 @@ firstRow: number;

}
export interface FirstDataRenderedEvent extends AgGridEvent {
export interface FirstDataRenderedEvent<TData = any> extends AgGridEvent<TData> {
/** Index of the first rendered row */

@@ -203,3 +204,3 @@ firstRow: number;

}
export interface RangeSelectionChangedEvent extends AgGridEvent {
export interface RangeSelectionChangedEvent<TData = any> extends AgGridEvent<TData> {
id?: string;

@@ -211,3 +212,3 @@ /** True for the first change event, otherwise false */

}
export interface ChartCreated extends AgGridEvent {
export interface ChartCreated<TData = any> extends AgGridEvent<TData> {
/** Will always be `chartCreated`. */

@@ -218,3 +219,3 @@ type: string;

}
export interface ChartRangeSelectionChanged extends AgGridEvent {
export interface ChartRangeSelectionChanged<TData = any> extends AgGridEvent<TData> {
/** Will always be `chartRangeSelectionChanged`. */

@@ -229,3 +230,3 @@ type: string;

}
export interface ChartOptionsChanged extends AgGridEvent {
export interface ChartOptionsChanged<TData = any> extends AgGridEvent<TData> {
/** Will always be `chartOptionsChanged`. */

@@ -242,3 +243,3 @@ type: string;

}
export interface ChartDestroyed extends AgGridEvent {
export interface ChartDestroyed<TData = any> extends AgGridEvent<TData> {
/** Will always be `chartDestroyed`. */

@@ -249,10 +250,10 @@ type: string;

}
export interface ColumnGroupOpenedEvent extends AgGridEvent {
export interface ColumnGroupOpenedEvent<TData = any> extends AgGridEvent<TData> {
columnGroup: ProvidedColumnGroup;
}
export interface ItemsAddedEvent extends AgGridEvent {
items: RowNode[];
export interface ItemsAddedEvent<TData = any> extends AgGridEvent<TData> {
items: RowNode<TData>[];
}
export declare type ScrollDirection = 'horizontal' | 'vertical';
export interface BodyScrollEvent extends AgGridEvent {
export interface BodyScrollEvent<TData = any> extends AgGridEvent<TData> {
direction: ScrollDirection;

@@ -264,21 +265,28 @@ left: number;

}
export interface FlashCellsEvent extends AgGridEvent {
export interface FlashCellsEvent<TData = any> extends AgGridEvent<TData> {
cells: any;
}
export interface PaginationPixelOffsetChangedEvent extends AgGridEvent {
export interface PaginationPixelOffsetChangedEvent<TData = any> extends AgGridEvent<TData> {
}
export interface CellFocusedEvent extends AgGridEvent {
export interface CellFocusedParams {
/** Row index of the focused cell */
rowIndex: number | null;
/** Column of the focused cell */
column: Column | null;
column: Column | string | null;
/** either 'top', 'bottom' or null / undefined (if not pinned) */
rowPinned?: string | null;
/** Whether the cell a full width cell or a regular cell */
isFullWidthCell: boolean;
isFullWidthCell?: boolean;
/** Whether browser focus is also set (false when editing) */
forceBrowserFocus?: boolean;
floating: string | null;
/** When `forceBrowserFocus` is `true`, should scroll be prevented */
preventScrollOnBrowserFocus?: boolean;
floating?: string | null;
}
export interface ExpandCollapseAllEvent extends AgGridEvent {
export interface CellFocusedEvent<TData = any> extends AgGridEvent<TData>, CellFocusedParams {
}
export interface FullWidthRowFocusedEvent extends CellFocusedEvent {
fromBelow: boolean;
}
export interface ExpandCollapseAllEvent<TData = any> extends AgGridEvent<TData> {
source: string;

@@ -289,4 +297,4 @@ }

/**---------------*/
export declare type ColumnEventType = "sizeColumnsToFit" | "autosizeColumns" | "alignedGridChanged" | "filterChanged" | "filterDestroyed" | "gridOptionsChanged" | "gridInitializing" | "toolPanelDragAndDrop" | "toolPanelUi" | "uiColumnMoved" | "uiColumnResized" | "uiColumnDragged" | "uiColumnExpanded" | "uiColumnSorted" | "contextMenu" | "columnMenu" | "rowModelUpdated" | "rowDataUpdated" | "api" | "flex" | "pivotChart";
export interface ColumnEvent extends AgGridEvent {
export declare type ColumnEventType = "sizeColumnsToFit" | "autosizeColumns" | "autosizeColumnHeaderHeight" | "alignedGridChanged" | "filterChanged" | "filterDestroyed" | "gridOptionsChanged" | "gridInitializing" | "toolPanelDragAndDrop" | "toolPanelUi" | "uiColumnMoved" | "uiColumnResized" | "uiColumnDragged" | "uiColumnExpanded" | "uiColumnSorted" | "contextMenu" | "columnMenu" | "rowModelUpdated" | "rowDataUpdated" | "api" | "flex" | "pivotChart";
export interface ColumnEvent<TData = any> extends AgGridEvent<TData> {
/** The impacted column, only set if action was on one column */

@@ -326,6 +334,6 @@ column: Column | null;

/**------------*/
export interface RowEvent extends AgGridEvent {
node: RowNode;
/** The user provided data for the row */
data: any;
export interface RowEvent<TData = any> extends AgGridEvent<TData> {
node: RowNode<TData>;
/** The user provided data for the row. Data is `undefined` for row groups. */
data: TData | undefined;
/** The visible row index for the row */

@@ -340,23 +348,23 @@ rowIndex: number | null;

}
export interface RowGroupOpenedEvent extends RowEvent {
export interface RowGroupOpenedEvent<TData = any> extends RowEvent<TData> {
/** True if the group is expanded. */
expanded: boolean;
}
export interface RowValueChangedEvent extends RowEvent {
export interface RowValueChangedEvent<TData = any> extends RowEvent<TData> {
}
export interface RowSelectedEvent extends RowEvent {
export interface RowSelectedEvent<TData = any> extends RowEvent<TData> {
}
export interface VirtualRowRemovedEvent extends RowEvent {
export interface VirtualRowRemovedEvent<TData = any> extends RowEvent<TData> {
}
export interface RowClickedEvent extends RowEvent {
export interface RowClickedEvent<TData = any> extends RowEvent<TData> {
}
export interface RowDoubleClickedEvent extends RowEvent {
export interface RowDoubleClickedEvent<TData = any> extends RowEvent<TData> {
}
export interface RowEditingStartedEvent extends RowEvent {
export interface RowEditingStartedEvent<TData = any> extends RowEvent<TData> {
}
export interface RowEditingStoppedEvent extends RowEvent {
export interface RowEditingStoppedEvent<TData = any> extends RowEvent<TData> {
}
export interface FullWidthCellKeyDownEvent extends RowEvent {
export interface FullWidthCellKeyDownEvent<TData = any> extends RowEvent<TData> {
}
export interface FullWidthCellKeyPressEvent extends RowEvent {
export interface FullWidthCellKeyPressEvent<TData = any> extends RowEvent<TData> {
}

@@ -366,28 +374,28 @@ /**------------*/

/**------------*/
export interface CellEvent extends RowEvent {
export interface CellEvent<TData = any> extends RowEvent<TData> {
column: Column;
colDef: ColDef;
colDef: ColDef<TData>;
/** The value for the cell */
value: any;
}
export interface CellKeyDownEvent extends CellEvent {
export interface CellKeyDownEvent<TData = any> extends CellEvent<TData> {
}
export interface CellKeyPressEvent extends CellEvent {
export interface CellKeyPressEvent<TData = any> extends CellEvent<TData> {
}
/** Cell is clicked */
export interface CellClickedEvent extends CellEvent {
export interface CellClickedEvent<TData = any> extends CellEvent<TData> {
}
export interface CellMouseDownEvent extends CellEvent {
export interface CellMouseDownEvent<TData = any> extends CellEvent<TData> {
}
export interface CellDoubleClickedEvent extends CellEvent {
export interface CellDoubleClickedEvent<TData = any> extends CellEvent<TData> {
}
export interface CellMouseOverEvent extends CellEvent {
export interface CellMouseOverEvent<TData = any> extends CellEvent<TData> {
}
export interface CellMouseOutEvent extends CellEvent {
export interface CellMouseOutEvent<TData = any> extends CellEvent<TData> {
}
export interface CellContextMenuEvent extends CellEvent {
export interface CellContextMenuEvent<TData = any> extends CellEvent<TData> {
}
export interface CellEditingStartedEvent extends CellEvent {
export interface CellEditingStartedEvent<TData = any> extends CellEvent<TData> {
}
export interface CellEditingStoppedEvent extends CellEvent {
export interface CellEditingStoppedEvent<TData = any> extends CellEvent<TData> {
/** The old value before editing */

@@ -398,3 +406,3 @@ oldValue: any;

}
export interface CellValueChangedEvent extends CellEvent {
export interface CellValueChangedEvent<TData = any> extends CellEvent<TData> {
oldValue: any;

@@ -404,3 +412,3 @@ newValue: any;

}
export interface CellEditRequestEvent extends CellEvent {
export interface CellEditRequestEvent<TData = any> extends CellEvent<TData> {
oldValue: any;

@@ -410,3 +418,3 @@ newValue: any;

}
export interface AsyncTransactionsFlushed extends AgGridEvent {
export interface AsyncTransactionsFlushed<TData = any> extends AgGridEvent<TData> {
/**

@@ -416,5 +424,5 @@ * Array of result objects. for SSRM it's always list of `ServerSideTransactionResult`.

*/
results: (RowNodeTransaction | ServerSideTransactionResult)[];
results: (RowNodeTransaction<TData> | ServerSideTransactionResult)[];
}
export interface ColumnRequestEvent extends AgGridEvent {
export interface ColumnRequestEvent<TData = any> extends AgGridEvent<TData> {
columns: Column[];

@@ -431,3 +439,3 @@ }

}
export interface ScrollVisibilityChangedEvent extends AgGridEvent {
export interface ScrollVisibilityChangedEvent<TData = any> extends AgGridEvent<TData> {
}

@@ -434,0 +442,0 @@ export interface StoreUpdatedEvent extends AgEvent {

@@ -17,3 +17,3 @@ import { Column } from '../../entities/column';

export declare type IFloatingFilterParentCallback<P = InbuiltParentType> = (parentFilterInstance: P) => void;
export interface IFloatingFilterParams<P = InbuiltParentType> extends AgGridCommon {
export interface IFloatingFilterParams<P = InbuiltParentType, TData = any> extends AgGridCommon<TData> {
/** The column this filter is for. */

@@ -20,0 +20,0 @@ column: Column;

import { BeanStub } from "./context/beanStub";
import { Column } from "./entities/column";
import { CellFocusedParams } from "./events";
import { CellPosition } from "./entities/cellPosition";

@@ -61,3 +62,3 @@ import { RowNode } from "./entities/rowNode";

getFocusedCell(): CellPosition | null;
setFocusedCell(rowIndex: number, colKey: string | Column, floating: string | null | undefined, forceBrowserFocus?: boolean): void;
setFocusedCell(params: CellFocusedParams): void;
isCellFocused(cellPosition: CellPosition): boolean;

@@ -64,0 +65,0 @@ isRowNodeFocused(rowNode: RowNode): boolean;

@@ -7,4 +7,4 @@ import { AlignedGridsService } from "./alignedGridsService";

import { Column } from "./entities/column";
import { ChartRef, GetChartToolbarItems, GetContextMenuItems, GetMainMenuItems, GetRowIdFunc, GetRowNodeIdFunc, GetServerSideGroupKey, IsApplyServerSideTransaction, IsRowMaster, IsRowSelectable, IsServerSideGroup, RowClassParams, ServerSideStoreParams } from "./entities/gridOptions";
import { InitialGroupOrderComparatorParams, RowHeightParams, ProcessRowParams, IsServerSideGroupOpenByDefaultParams, GetServerSideStoreParamsParams, PaginationNumberFormatterParams, NavigateToNextCellParams, NavigateToNextHeaderParams, PostProcessPopupParams, TabToNextCellParams, TabToNextHeaderParams, GetGroupRowAggParams, PostSortRowsParams } from "./entities/iCallbackParams";
import { ChartRef, GetChartToolbarItems, GetContextMenuItems, GetMainMenuItems, GetRowIdFunc, GetRowNodeIdFunc, GetServerSideGroupKey, IsApplyServerSideTransaction, IsRowMaster, IsRowSelectable, IsServerSideGroup, RowClassParams, ServerSideGroupLevelParams } from "./entities/gridOptions";
import { GetGroupRowAggParams, GetServerSideGroupLevelParamsParams, InitialGroupOrderComparatorParams, IsServerSideGroupOpenByDefaultParams, NavigateToNextCellParams, NavigateToNextHeaderParams, PaginationNumberFormatterParams, PostProcessPopupParams, PostSortRowsParams, ProcessRowParams, RowHeightParams, TabToNextCellParams, TabToNextHeaderParams } from "./entities/iCallbackParams";
import { RowNode } from "./entities/rowNode";

@@ -27,4 +27,4 @@ import { SideBarDef } from "./entities/sideBar";

import { IServerSideDatasource } from "./interfaces/iServerSideDatasource";
import { RefreshStoreParams } from "./interfaces/iServerSideRowModel";
import { ServerSideStoreState } from "./interfaces/IServerSideStore";
import { RefreshServerSideParams } from "./interfaces/iServerSideRowModel";
import { ServerSideGroupLevelState } from "./interfaces/IServerSideStore";
import { ISideBar } from "./interfaces/iSideBar";

@@ -51,9 +51,9 @@ import { IStatusPanel } from "./interfaces/iStatusPanel";

}
export interface GetCellsParams {
export interface GetCellsParams<TData = any> {
/** Optional list of row nodes to restrict operation to */
rowNodes?: RowNode[];
rowNodes?: RowNode<TData>[];
/** Optional list of columns to restrict operation to */
columns?: (string | Column)[];
}
export interface RefreshCellsParams extends GetCellsParams {
export interface RefreshCellsParams<TData = any> extends GetCellsParams<TData> {
/** Skip change detection, refresh everything. */

@@ -64,13 +64,13 @@ force?: boolean;

}
export interface FlashCellsParams extends GetCellsParams {
export interface FlashCellsParams<TData = any> extends GetCellsParams<TData> {
flashDelay?: number;
fadeDelay?: number;
}
export interface GetCellRendererInstancesParams extends GetCellsParams {
export interface GetCellRendererInstancesParams<TData = any> extends GetCellsParams<TData> {
}
export interface GetCellEditorInstancesParams extends GetCellsParams {
export interface GetCellEditorInstancesParams<TData = any> extends GetCellsParams<TData> {
}
export interface RedrawRowsParams {
export interface RedrawRowsParams<TData = any> {
/** Row nodes to redraw */
rowNodes?: RowNode[];
rowNodes?: RowNode<TData>[];
}

@@ -124,3 +124,3 @@ interface CreateChartParams {

export declare function unwrapUserComp<T>(comp: T): T;
export declare class GridApi {
export declare class GridApi<TData = any> {
private immutableService;

@@ -214,3 +214,3 @@ private csvCreator;

/** Set the row data. */
setRowData(rowData: any[]): void;
setRowData(rowData: TData[]): void;
/** @deprecated */

@@ -274,7 +274,7 @@ setFloatingTopRowData(rows: any[]): void;

/** Performs change detection on all cells, refreshing cells where required. */
refreshCells(params?: RefreshCellsParams): void;
refreshCells(params?: RefreshCellsParams<TData>): void;
/** Flash rows, columns or individual cells. */
flashCells(params?: FlashCellsParams): void;
flashCells(params?: FlashCellsParams<TData>): void;
/** Remove row(s) from the DOM and recreate them again from scratch. */
redrawRows(params?: RedrawRowsParams): void;
redrawRows(params?: RedrawRowsParams<TData>): void;
setFunctionsReadOnly(readOnly: boolean): void;

@@ -314,3 +314,3 @@ /** Redraws the header. Useful if a column name changes, or something else that changes how the column header is displayed. */

*/
getRowNode(id: string): RowNode | undefined;
getRowNode(id: string): RowNode<TData> | undefined;
/**

@@ -365,3 +365,3 @@ * Gets the sizes that various UI elements will be rendered at with the current theme.

getSelectedNodesById(): {
[nodeId: number]: RowNode;
[nodeId: number]: RowNode<TData>;
} | null;

@@ -373,5 +373,5 @@ /**

*/
getSelectedNodes(): RowNode[];
getSelectedNodes(): RowNode<TData>[];
/** Returns a list of selected rows (i.e. row data that you provided). */
getSelectedRows(): any[];
getSelectedRows(): TData[];
/**

@@ -382,5 +382,5 @@ * Returns a list of all selected nodes at 'best cost', a feature to be used with groups / trees.

*/
getBestCostNodeSelection(): RowNode[] | undefined;
getBestCostNodeSelection(): RowNode<TData>[] | undefined;
/** Retrieve rendered nodes. Due to virtualisation this will contain only the current visible rows and those in the buffer. */
getRenderedNodes(): RowNode[];
getRenderedNodes(): RowNode<TData>[];
ensureColIndexVisible(index: any): void;

@@ -421,3 +421,3 @@ /**

*/
forEachLeafNode(callback: (rowNode: RowNode) => void): void;
forEachLeafNode(callback: (rowNode: RowNode<TData>) => void): void;
/**

@@ -429,7 +429,7 @@ * Iterates through each node (row) in the grid and calls the callback for each node.

*/
forEachNode(callback: (rowNode: RowNode, index: number) => void): void;
forEachNode(callback: (rowNode: RowNode<TData>, index: number) => void): void;
/** Similar to `forEachNode`, except skips any filtered out data. */
forEachNodeAfterFilter(callback: (rowNode: RowNode, index: number) => void): void;
forEachNodeAfterFilter(callback: (rowNode: RowNode<TData>, index: number) => void): void;
/** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */
forEachNodeAfterFilterAndSort(callback: (rowNode: RowNode, index: number) => void): void;
forEachNodeAfterFilterAndSort(callback: (rowNode: RowNode<TData>, index: number) => void): void;
/**

@@ -446,7 +446,7 @@ * Returns the filter component instance for a column.

getStatusPanel(key: string): IStatusPanel | undefined;
getColumnDef(key: string | Column): ColDef | null;
getColumnDef(key: string | Column): ColDef<TData> | null;
/**
* Returns the current column definitions.
*/
getColumnDefs(): (ColDef | ColGroupDef)[] | undefined;
getColumnDefs(): (ColDef<TData> | ColGroupDef<TData>)[] | undefined;
/** Informs the grid that a filter has changed. This is typically called after a filter change through one of the filter APIs. */

@@ -530,4 +530,8 @@ onFilterChanged(): void;

setProcessCellFromClipboard(processCellFromClipboardFunc: (params: ProcessCellForExportParams) => any): void;
/** @deprecated use `setProcessPivotResultColDef` instead */
setProcessSecondaryColDef(processSecondaryColDefFunc: (colDef: ColDef) => void): void;
/** @deprecated use `setProcessPivotResultColGroupDef` instead */
setProcessSecondaryColGroupDef(processSecondaryColGroupDefFunc: (colDef: ColDef) => void): void;
setProcessPivotResultColDef(processPivotResultColDefFunc: (colDef: ColDef) => void): void;
setProcessPivotResultColGroupDef(processPivotResultColGroupDefFunc: (colDef: ColDef) => void): void;
setPostProcessPopup(postProcessPopupFunc: (params: PostProcessPopupParams) => void): void;

@@ -538,3 +542,7 @@ setDefaultGroupOrderComparator(defaultGroupOrderComparatorFunc: (nodeA: RowNode, nodeB: RowNode) => number): void;

setPaginationNumberFormatter(paginationNumberFormatterFunc: (params: PaginationNumberFormatterParams) => string): void;
setGetServerSideStoreParams(getServerSideStoreParamsFunc: (params: GetServerSideStoreParamsParams) => ServerSideStoreParams): void;
/** @deprecated
* use setGetServerSideGroupLevelParams instead
*/
setGetServerSideStoreParams(getServerSideStoreParamsFunc: (params: GetServerSideGroupLevelParamsParams) => ServerSideGroupLevelParams): void;
setGetServerSideGroupLevelParams(getServerSideGroupLevelParamsFunc: (params: GetServerSideGroupLevelParamsParams) => ServerSideGroupLevelParams): void;
setIsServerSideGroupOpenByDefault(isServerSideGroupOpenByDefaultFunc: (params: IsServerSideGroupOpenByDefaultParams) => boolean): void;

@@ -642,5 +650,5 @@ setIsApplyServerSideTransaction(isApplyServerSideTransactionFunc: IsApplyServerSideTransaction): void;

/** Returns the list of active cell renderer instances. */
getCellRendererInstances(params?: GetCellRendererInstancesParams): ICellRenderer[];
getCellRendererInstances(params?: GetCellRendererInstancesParams<TData>): ICellRenderer[];
/** Returns the list of active cell editor instances. Optionally provide parameters to restrict to certain columns / row nodes. */
getCellEditorInstances(params?: GetCellEditorInstancesParams): ICellEditor[];
getCellEditorInstances(params?: GetCellEditorInstancesParams<TData>): ICellEditor[];
/** If the grid is editing, returns back details of the editing cell(s). */

@@ -667,15 +675,22 @@ getEditingCells(): CellPosition[];

/** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */
applyTransaction(rowDataTransaction: RowDataTransaction): RowNodeTransaction | null | undefined;
applyTransaction(rowDataTransaction: RowDataTransaction<TData>): RowNodeTransaction<TData> | null | undefined;
/** Sets the `deltaSort` property */
setDeltaSort(enable: boolean): void;
/** @deprecated */
updateRowData(rowDataTransaction: RowDataTransaction): RowNodeTransaction | null | undefined;
updateRowData(rowDataTransaction: RowDataTransaction<TData>): RowNodeTransaction<TData> | null | undefined;
/** Same as `applyTransaction` except executes asynchronously for efficiency. */
applyTransactionAsync(rowDataTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
applyTransactionAsync(rowDataTransaction: RowDataTransaction<TData>, callback?: (res: RowNodeTransaction<TData>) => void): void;
/** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */
flushAsyncTransactions(): void;
/** @deprecated */
batchUpdateRowData(rowDataTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
batchUpdateRowData(rowDataTransaction: RowDataTransaction<TData>, callback?: (res: RowNodeTransaction<TData>) => void): void;
/** @deprecated */
insertItemsAtIndex(index: number, items: any[], skipRefresh?: boolean): void;
/** @deprecated */
removeItems(rowNodes: RowNode[], skipRefresh?: boolean): void;
/** @deprecated */
addItems(items: any[], skipRefresh?: boolean): void;
/** @deprecated */
refreshVirtualPageCache(): void;
/** @deprecated */
refreshInfinitePageCache(): void;

@@ -688,3 +703,5 @@ /**

refreshInfiniteCache(): void;
/** @deprecated */
purgeVirtualPageCache(): void;
/** @deprecated */
purgeInfinitePageCache(): void;

@@ -703,9 +720,13 @@ /**

/**
* Refresh a server-side store.
* If you pass no parameters, then the top level cache is purged.
* To purge a child cache, pass in the string of keys to get to the child cache.
* Refresh a server-side level.
* If you pass no parameters, then the top level store is purged.
* To purge a child level, pass in the string of keys to get to the desired level.
*/
refreshServerSideStore(params?: RefreshStoreParams): void;
/** Returns info on all server side stores. */
getServerSideStoreState(): ServerSideStoreState[];
refreshServerSide(params?: RefreshServerSideParams): void;
/** @deprecated use `refreshServerSide` instead */
refreshServerSideStore(params?: RefreshServerSideParams): void;
/** @deprecated use `getServerSideGroupLevelState` instead */
getServerSideStoreState(): ServerSideGroupLevelState[];
/** Returns info on all server side group levels. */
getServerSideGroupLevelState(): ServerSideGroupLevelState[];
getVirtualRowCount(): number | null | undefined;

@@ -741,3 +762,3 @@ /** The row count defines how many rows the grid allows scrolling to. */

/** Returns the displayed `RowNode` at the given `index`. */
getDisplayedRowAtIndex(index: number): RowNode | undefined;
getDisplayedRowAtIndex(index: number): RowNode<TData> | undefined;
/** Returns the total number of displayed rows. */

@@ -771,3 +792,4 @@ getDisplayedRowCount(): number;

paginationGoToPage(page: number): void;
setRowClass(className: string | undefined): void;
}
export {};

@@ -7,2 +7,3 @@ import { GridHeaderComp } from '../headerRendering/gridHeaderComp';

private eBodyViewport;
private eStickyTop;
private eTop;

@@ -9,0 +10,0 @@ private eBottom;

@@ -21,2 +21,5 @@ import { BeanStub } from "../context/beanStub";

setBottomDisplay(display: string): void;
setStickyTopHeight(height: string): void;
setStickyTopTop(offsetTop: string): void;
setStickyTopWidth(width: string): void;
setColumnCount(count: number): void;

@@ -47,2 +50,4 @@ setRowCount(count: number): void;

private eBottom;
private eStickyTop;
private stickyTopHeight;
private bodyScrollFeature;

@@ -52,3 +57,3 @@ private rowDragFeature;

getBodyViewportElement(): HTMLElement;
setComp(comp: IGridBodyComp, eGridBody: HTMLElement, eBodyViewport: HTMLElement, eTop: HTMLElement, eBottom: HTMLElement): void;
setComp(comp: IGridBodyComp, eGridBody: HTMLElement, eBodyViewport: HTMLElement, eTop: HTMLElement, eBottom: HTMLElement, eStickyTop: HTMLElement): void;
getComp(): IGridBodyComp;

@@ -70,3 +75,4 @@ private addEventListeners;

private addBodyViewportListener;
private onWheel;
private onBodyViewportWheel;
private onStickyTopWheel;
getGui(): HTMLElement;

@@ -76,3 +82,9 @@ scrollVertically(pixels: number): number;

getRowDragFeature(): RowDragFeature;
private onPinnedRowDataChanged;
private setFloatingHeights;
setStickyTopHeight(height?: number): void;
getStickyTopHeight(): number;
private setStickyTopWidth;
private onHeaderHeightChanged;
private setStickyTopOffsetTop;
sizeColumnsToFit(nextTimeout?: number): void;

@@ -79,0 +91,0 @@ addScrollEventListener(listener: () => void): void;

@@ -9,2 +9,4 @@ import { CellPosition } from "../entities/cellPosition";

export declare class NavigationService extends BeanStub {
private readonly columnApi;
private readonly gridApi;
private mouseEventService;

@@ -16,2 +18,3 @@ private paginationProxy;

private columnModel;
private rowModel;
ctrlsService: CtrlsService;

@@ -35,4 +38,3 @@ rowRenderer: RowRenderer;

private isRowTallerThanView;
private onCtrlUpOrDown;
private onCtrlLeftOrRight;
private onCtrlUpDownLeftRight;
private onHomeOrEndKey;

@@ -39,0 +41,0 @@ onTabKeyDown(previous: CellCtrl | RowCtrl, keyboardEvent: KeyboardEvent): void;

@@ -13,2 +13,6 @@ import { BeanStub } from "../../context/beanStub";

TOP_FULL_WIDTH = "topFullWidth",
STICKY_TOP_LEFT = "stickyTopLeft",
STICKY_TOP_RIGHT = "stickyTopRight",
STICKY_TOP_CENTER = "stickyTopCenter",
STICKY_TOP_FULL_WIDTH = "stickyTopFullWidth",
BOTTOM_LEFT = "bottomLeft",

@@ -15,0 +19,0 @@ BOTTOM_RIGHT = "bottomRight",

@@ -21,2 +21,3 @@ import { FocusService } from "../focusService";

private readonly mouseEventService;
private readonly dragAndDropService;
private view;

@@ -26,2 +27,3 @@ private eGridHostDiv;

setComp(view: IGridComp, eGridDiv: HTMLElement, eGui: HTMLElement): void;
isDetailGrid(): boolean;
showDropZones(): boolean;

@@ -28,0 +30,0 @@ showSideBar(): boolean;

import { ColumnApi } from './columns/columnApi';
import { ColDef, ColGroupDef, IAggFunc, SuppressKeyboardEventParams } from './entities/colDef';
import { GridOptions } from './entities/gridOptions';
import { GetGroupAggFilteringParams, GetGroupRowAggParams, GetRowIdParams, InitialGroupOrderComparatorParams, IsFullWidthRowParams, PostSortRowsParams } from './entities/iCallbackParams';

@@ -44,2 +43,3 @@ import { RowNode } from './entities/rowNode';

static PROP_DOM_LAYOUT: string;
static PROP_ROW_CLASS: string;
static PROP_FILL_HANDLE_DIRECTION: string;

@@ -69,6 +69,6 @@ static PROP_GROUP_ROW_AGG_NODES: string;

static PROP_SEND_TO_CLIPBOARD: string;
static PROP_PROCESS_TO_SECONDARY_COLDEF: string;
static PROP_PROCESS_SECONDARY_COL_GROUP_DEF: string;
static PROP_PROCESS_PIVOT_RESULT_COL_DEF: string;
static PROP_PROCESS_PIVOT_RESULT_COL_GROUP_DEF: string;
static PROP_GET_CHART_TOOLBAR_ITEMS: string;
static PROP_GET_SERVER_SIDE_STORE_PARAMS: string;
static PROP_GET_SERVER_SIDE_GROUP_PARAMS: string;
static PROP_IS_SERVER_SIDE_GROUPS_OPEN_BY_DEFAULT: string;

@@ -139,2 +139,3 @@ static PROP_IS_APPLY_SERVER_SIDE_TRANSACTION: string;

isGroupUseEntireRow(pivotMode: boolean): boolean;
isGroupRowsSticky(): boolean;
isGroupSuppressAutoColumn(): boolean;

@@ -153,2 +154,3 @@ isGroupRemoveSingleChildren(): boolean;

isSuppressDragLeaveHidesColumns(): boolean;
isSuppressRowGroupHidesColumns(): boolean;
isSuppressScrollOnNewData(): boolean;

@@ -186,16 +188,16 @@ isSuppressScrollWhenPopupsAreOpen(): boolean;

getRowClass(): string | string[] | undefined;
getRowStyleFunc(): ((params: Pick<import("./entities/gridOptions").RowClassParams, "data" | "rowIndex" | "node">) => import("./entities/gridOptions").RowStyle | undefined) | undefined;
getRowClassFunc(): ((params: Pick<import("./entities/gridOptions").RowClassParams, "data" | "rowIndex" | "node">) => string | string[] | undefined) | undefined;
rowClassRules(): import("./entities/gridOptions").RowClassRules | undefined;
getServerSideStoreType(): string | undefined;
getServerSideStoreParamsFunc(): ((params: Pick<import("./entities/iCallbackParams").GetServerSideStoreParamsParams, "level" | "pivotMode" | "parentRowNode" | "rowGroupColumns" | "pivotColumns">) => import("./entities/gridOptions").ServerSideStoreParams) | undefined;
getCreateChartContainerFunc(): ((params: Pick<import("./entities/gridOptions").ChartRefParams, "chart" | "chartId" | "chartElement" | "destroyChart">) => void) | undefined;
getRowStyleFunc(): ((params: Pick<import("./entities/gridOptions").RowClassParams<any>, "data" | "rowIndex" | "node">) => import("./entities/gridOptions").RowStyle | undefined) | undefined;
getRowClassFunc(): ((params: Pick<import("./entities/gridOptions").RowClassParams<any>, "data" | "rowIndex" | "node">) => string | string[] | undefined) | undefined;
rowClassRules(): import("./entities/gridOptions").RowClassRules<any> | undefined;
isServerSideInfiniteScroll(): boolean;
getServerSideGroupLevelParamsFunc(): ((params: Pick<import("./entities/iCallbackParams").GetServerSideGroupLevelParamsParams, "level" | "pivotMode" | "parentRowNode" | "rowGroupColumns" | "pivotColumns">) => import("./entities/gridOptions").ServerSideGroupLevelParams) | undefined;
getCreateChartContainerFunc(): ((params: Pick<import("./entities/gridOptions").ChartRefParams<any>, "chart" | "chartId" | "chartElement" | "destroyChart">) => void) | undefined;
getPopupParent(): HTMLElement | undefined;
getBlockLoadDebounceMillis(): number | undefined;
getPostProcessPopupFunc(): ((params: Pick<import("./entities/iCallbackParams").PostProcessPopupParams, "type" | "column" | "ePopup" | "rowNode" | "eventSource" | "mouseEvent">) => void) | undefined;
getPaginationNumberFormatterFunc(): ((params: Pick<import("./entities/iCallbackParams").PaginationNumberFormatterParams, "value">) => string) | undefined;
getPostProcessPopupFunc(): ((params: Pick<import("./entities/iCallbackParams").PostProcessPopupParams<any>, "type" | "column" | "ePopup" | "rowNode" | "eventSource" | "mouseEvent">) => void) | undefined;
getPaginationNumberFormatterFunc(): ((params: Pick<import("./entities/iCallbackParams").PaginationNumberFormatterParams<any>, "value">) => string) | undefined;
getChildCountFunc(): ((dataItem: any) => number) | undefined;
getIsApplyServerSideTransactionFunc(): ((params: Pick<import("./entities/iCallbackParams").IsApplyServerSideTransactionParams, "transaction" | "parentNode" | "storeInfo">) => boolean) | undefined;
getInitialGroupOrderComparator(): ((params: Pick<InitialGroupOrderComparatorParams, "nodeA" | "nodeB">) => number) | undefined;
getIsFullWidthCellFunc(): ((params: Pick<IsFullWidthRowParams, "rowNode">) => boolean) | undefined;
getIsApplyServerSideTransactionFunc(): ((params: Pick<import("./entities/iCallbackParams").IsApplyServerSideTransactionParams, "transaction" | "parentNode" | "storeInfo" | "groupLevelInfo">) => boolean) | undefined;
getInitialGroupOrderComparator(): ((params: Pick<InitialGroupOrderComparatorParams<any>, "nodeA" | "nodeB">) => number) | undefined;
getIsFullWidthCellFunc(): ((params: Pick<IsFullWidthRowParams<any>, "rowNode">) => boolean) | undefined;
getFullWidthCellRendererParams(): any;

@@ -205,3 +207,3 @@ isEmbedFullWidthRows(): boolean;

getSuppressKeyboardEventFunc(): ((params: SuppressKeyboardEventParams) => boolean) | undefined;
getBusinessKeyForNodeFunc(): ((node: RowNode) => string) | undefined;
getBusinessKeyForNodeFunc(): ((node: RowNode<any>) => string) | undefined;
getApi(): GridApi | undefined | null;

@@ -234,3 +236,3 @@ getColumnApi(): ColumnApi | undefined | null;

isDebug(): boolean;
getColumnDefs(): (ColDef | ColGroupDef)[] | null | undefined;
getColumnDefs(): (ColDef<any> | ColGroupDef<any>)[] | null | undefined;
getColumnTypes(): {

@@ -254,2 +256,3 @@ [key: string]: ColDef;

isSuppressCopyRowsToClipboard(): boolean;
isSuppressCopySingleCellRanges(): boolean;
isCopyHeadersToClipboard(): boolean;

@@ -261,3 +264,3 @@ isCopyGroupHeadersToClipboard(): boolean;

isSuppressEnterpriseResetOnNewColumns(): boolean;
getProcessDataFromClipboardFunc(): ((params: Pick<import("./entities/iCallbackParams").ProcessDataFromClipboardParams, "data">) => string[][] | null) | undefined;
getProcessDataFromClipboardFunc(): ((params: Pick<import("./entities/iCallbackParams").ProcessDataFromClipboardParams<any>, "data">) => string[][] | null) | undefined;
getAsyncTransactionWaitMillis(): number | undefined;

@@ -270,2 +273,3 @@ isSuppressMovableColumns(): boolean;

isSuppressAggFilteredOnly(): boolean;
isRemovePivotHeaderRowWhenSingleValueColumn(): boolean;
isShowOpenedGroup(): boolean;

@@ -278,3 +282,3 @@ isReactUi(): boolean;

getFillHandleDirection(): 'x' | 'y' | 'xy';
getFillOperation(): ((params: Pick<import("./entities/iCallbackParams").FillOperationParams, "column" | "rowNode" | "event" | "direction" | "values" | "initialValues" | "currentIndex" | "currentCellValue">) => any) | undefined;
getFillOperation(): ((params: Pick<import("./entities/iCallbackParams").FillOperationParams<any>, "column" | "rowNode" | "event" | "direction" | "values" | "initialValues" | "currentIndex" | "currentCellValue">) => any) | undefined;
isSuppressMultiRangeSelection(): boolean;

@@ -291,8 +295,11 @@ isPaginationAutoPageSize(): boolean;

getSortingOrder(): ('asc' | 'desc' | null)[] | undefined;
getAlignedGrids(): GridOptions[] | undefined;
getAlignedGrids(): {
api?: GridApi | null;
columnApi?: ColumnApi | null;
}[] | undefined;
isMasterDetail(): boolean;
isKeepDetailRows(): boolean;
getKeepDetailRowsCount(): number | undefined;
getIsRowMasterFunc(): import("./entities/gridOptions").IsRowMaster | undefined;
getIsRowSelectableFunc(): import("./entities/gridOptions").IsRowSelectable | undefined;
getIsRowMasterFunc(): import("./entities/gridOptions").IsRowMaster<any> | undefined;
getIsRowSelectableFunc(): import("./entities/gridOptions").IsRowSelectable<any> | undefined;
getGroupRowRendererParams(): any;

@@ -318,12 +325,12 @@ getOverlayLoadingTemplate(): string | undefined;

getIsServerSideGroupOpenByDefaultFunc(): ((params: Pick<import("./entities/iCallbackParams").IsServerSideGroupOpenByDefaultParams, "data" | "rowNode">) => boolean) | undefined;
getIsGroupOpenByDefaultFunc(): ((params: Pick<import("./entities/iCallbackParams").IsGroupOpenByDefaultParams, "level" | "field" | "rowNode" | "key" | "rowGroupColumn">) => boolean) | undefined;
getIsGroupOpenByDefaultFunc(): ((params: Pick<import("./entities/iCallbackParams").IsGroupOpenByDefaultParams<any>, "level" | "field" | "rowNode" | "key" | "rowGroupColumn">) => boolean) | undefined;
getServerSideGroupKeyFunc(): ((dataItem: any) => string) | undefined;
getGroupRowAggFunc(): ((params: Pick<GetGroupRowAggParams, "nodes">) => any) | undefined;
getContextMenuItemsFunc(): ((params: Pick<import("./entities/iCallbackParams").GetContextMenuItemsParams, "column" | "value" | "node" | "defaultItems">) => (string | import("./entities/gridOptions").MenuItemDef)[]) | undefined;
getMainMenuItemsFunc(): ((params: Pick<import("./entities/iCallbackParams").GetMainMenuItemsParams, "column" | "defaultItems">) => (string | import("./entities/gridOptions").MenuItemDef)[]) | undefined;
getRowIdFunc(): ((params: Pick<GetRowIdParams, "data" | "level" | "parentKeys">) => string) | undefined;
getNavigateToNextHeaderFunc(): ((params: Pick<import("./entities/iCallbackParams").NavigateToNextHeaderParams, "key" | "event" | "previousHeaderPosition" | "nextHeaderPosition" | "headerRowCount">) => import("./main").HeaderPosition | null) | undefined;
getTabToNextHeaderFunc(): ((params: Pick<import("./entities/iCallbackParams").TabToNextHeaderParams, "backwards" | "previousHeaderPosition" | "nextHeaderPosition" | "headerRowCount">) => import("./main").HeaderPosition | null) | undefined;
getNavigateToNextCellFunc(): ((params: Pick<import("./entities/iCallbackParams").NavigateToNextCellParams, "previousCellPosition" | "nextCellPosition" | "key" | "event">) => import("./main").CellPosition | null) | undefined;
getTabToNextCellFunc(): ((params: Pick<import("./entities/iCallbackParams").TabToNextCellParams, "backwards" | "editing" | "previousCellPosition" | "nextCellPosition">) => import("./main").CellPosition | null) | undefined;
getGroupRowAggFunc(): ((params: Pick<GetGroupRowAggParams<any>, "nodes">) => any) | undefined;
getContextMenuItemsFunc(): ((params: Pick<import("./entities/iCallbackParams").GetContextMenuItemsParams<any>, "column" | "value" | "node" | "defaultItems">) => (string | import("./entities/gridOptions").MenuItemDef)[]) | undefined;
getMainMenuItemsFunc(): ((params: Pick<import("./entities/iCallbackParams").GetMainMenuItemsParams<any>, "column" | "defaultItems">) => (string | import("./entities/gridOptions").MenuItemDef)[]) | undefined;
getRowIdFunc(): ((params: Pick<GetRowIdParams<any>, "data" | "level" | "parentKeys">) => string) | undefined;
getNavigateToNextHeaderFunc(): ((params: Pick<import("./entities/iCallbackParams").NavigateToNextHeaderParams<any>, "key" | "event" | "previousHeaderPosition" | "nextHeaderPosition" | "headerRowCount">) => import("./main").HeaderPosition | null) | undefined;
getTabToNextHeaderFunc(): ((params: Pick<import("./entities/iCallbackParams").TabToNextHeaderParams<any>, "backwards" | "previousHeaderPosition" | "nextHeaderPosition" | "headerRowCount">) => import("./main").HeaderPosition | null) | undefined;
getNavigateToNextCellFunc(): ((params: Pick<import("./entities/iCallbackParams").NavigateToNextCellParams<any>, "previousCellPosition" | "nextCellPosition" | "key" | "event">) => import("./main").CellPosition | null) | undefined;
getTabToNextCellFunc(): ((params: Pick<import("./entities/iCallbackParams").TabToNextCellParams<any>, "backwards" | "editing" | "previousCellPosition" | "nextCellPosition">) => import("./main").CellPosition | null) | undefined;
getGridTabIndex(): string;

@@ -335,16 +342,18 @@ isTreeData(): boolean;

isAggregateOnlyChangedColumns(): boolean;
getProcessSecondaryColDefFunc(): ((colDef: ColDef) => void) | undefined;
getProcessSecondaryColGroupDefFunc(): ((colGroupDef: ColGroupDef) => void) | undefined;
getSendToClipboardFunc(): ((params: Pick<import("./entities/iCallbackParams").SendToClipboardParams, "data">) => void) | undefined;
getProcessRowPostCreateFunc(): ((params: Pick<import("./entities/iCallbackParams").ProcessRowParams, "rowIndex" | "node" | "eRow" | "ePinnedLeftRow" | "ePinnedRightRow" | "addRenderedRowListener">) => void) | undefined;
getProcessCellForClipboardFunc(): ((params: Pick<import("./interfaces/exportParams").ProcessCellForExportParams, "type" | "column" | "value" | "node" | "accumulatedRowIndex">) => any) | undefined;
getProcessHeaderForClipboardFunc(): ((params: Pick<import("./interfaces/exportParams").ProcessHeaderForExportParams, "column">) => any) | undefined;
getProcessGroupHeaderForClipboardFunc(): ((params: Pick<import("./interfaces/exportParams").ProcessGroupHeaderForExportParams, "columnGroup">) => any) | undefined;
getProcessCellFromClipboardFunc(): ((params: Pick<import("./interfaces/exportParams").ProcessCellForExportParams, "type" | "column" | "value" | "node" | "accumulatedRowIndex">) => any) | undefined;
getProcessPivotResultColDefFunc(): ((colDef: ColDef<any>) => void) | undefined;
getProcessPivotResultColGroupDefFunc(): ((colGroupDef: ColGroupDef<any>) => void) | undefined;
getSendToClipboardFunc(): ((params: Pick<import("./entities/iCallbackParams").SendToClipboardParams<any>, "data">) => void) | undefined;
getProcessRowPostCreateFunc(): ((params: Pick<import("./entities/iCallbackParams").ProcessRowParams<any>, "rowIndex" | "node" | "eRow" | "ePinnedLeftRow" | "ePinnedRightRow" | "addRenderedRowListener">) => void) | undefined;
getProcessCellForClipboardFunc(): ((params: Pick<import("./interfaces/exportParams").ProcessCellForExportParams<any>, "type" | "column" | "value" | "node" | "accumulatedRowIndex">) => any) | undefined;
getProcessHeaderForClipboardFunc(): ((params: Pick<import("./interfaces/exportParams").ProcessHeaderForExportParams<any>, "column">) => any) | undefined;
getProcessGroupHeaderForClipboardFunc(): ((params: Pick<import("./interfaces/exportParams").ProcessGroupHeaderForExportParams<any>, "columnGroup">) => any) | undefined;
getProcessCellFromClipboardFunc(): ((params: Pick<import("./interfaces/exportParams").ProcessCellForExportParams<any>, "type" | "column" | "value" | "node" | "accumulatedRowIndex">) => any) | undefined;
getViewportRowModelPageSize(): number | undefined;
getViewportRowModelBufferSize(): number;
isServerSideSortingAlwaysResets(): boolean;
isServerSideFilteringAlwaysResets(): boolean;
getPostSortFunc(): ((params: Pick<PostSortRowsParams, "nodes">) => void) | undefined;
getChartToolbarItemsFunc(): ((params: Pick<import("./entities/iCallbackParams").GetChartToolbarItemsParams, "defaultItems">) => import("./main").ChartMenuOptions[]) | undefined;
isServerSideSortAllLevels(): boolean;
isServerSideFilterAllLevels(): boolean;
isServerSideSortOnServer(): boolean;
isServerSideFilterOnServer(): boolean;
getPostSortFunc(): ((params: Pick<PostSortRowsParams<any>, "nodes">) => void) | undefined;
getChartToolbarItemsFunc(): ((params: Pick<import("./entities/iCallbackParams").GetChartToolbarItemsParams<any>, "defaultItems">) => import("./main").ChartMenuOptions[]) | undefined;
getChartThemeOverrides(): AgChartThemeOverrides | undefined;

@@ -351,0 +360,0 @@ getCustomChartThemes(): {

@@ -5,2 +5,4 @@ import { BeanStub } from "../../../context/beanStub";

import { HeaderRowCtrl } from "../../row/headerRowCtrl";
import { Beans } from "../../../rendering/beans";
import { UserComponentFactory } from '../../../components/framework/userComponentFactory';
export interface IAbstractHeaderCellComp {

@@ -10,3 +12,5 @@ }

static DOM_DATA_KEY_HEADER_CTRL: string;
protected focusService: FocusService;
protected readonly focusService: FocusService;
protected readonly beans: Beans;
protected readonly userComponentFactory: UserComponentFactory;
private instanceId;

@@ -19,3 +23,5 @@ private columnGroupChild;

protected shouldStopEventPropagation(e: KeyboardEvent): boolean;
protected getWrapperHasFocus(): boolean;
protected setGui(eGui: HTMLElement): void;
protected handleKeyDown(e: KeyboardEvent): void;
private addDomData;

@@ -22,0 +28,0 @@ getGui(): HTMLElement;

@@ -7,2 +7,3 @@ import { Column } from "../../../entities/column";

private eResize;
private eHeaderCompWrapper;
protected readonly column: Column;

@@ -9,0 +10,0 @@ protected readonly pinned: string | null;

import { UserCompDetails } from "../../../components/framework/userComponentFactory";
import { Column } from "../../../entities/column";
import { Beans } from "../../../rendering/beans";
import { ColumnSortState } from "../../../utils/aria";

@@ -12,5 +11,5 @@ import { ITooltipFeatureComp } from "../../../widgets/tooltipFeature";

addOrRemoveCssClass(cssClassName: string, on: boolean): void;
setAriaSort(sort: ColumnSortState | undefined): void;
setColId(id: string): void;
setAriaDescribedBy(id: string | undefined): void;
setAriaDescription(description?: string): void;
setAriaSort(sort?: ColumnSortState): void;
setUserCompDetails(compDetails: UserCompDetails): void;

@@ -20,11 +19,10 @@ getUserCompInstance(): IHeader | undefined;

export declare class HeaderCellCtrl extends AbstractHeaderCellCtrl {
private columnModel;
private columnHoverService;
protected beans: Beans;
private sortController;
private menuFactory;
private dragAndDropService;
private gridApi;
private columnApi;
private userComponentFactory;
private readonly columnModel;
private readonly columnHoverService;
private readonly sortController;
private readonly menuFactory;
private readonly dragAndDropService;
private readonly resizeObserverService;
private readonly gridApi;
private readonly columnApi;
private colDefVersion;

@@ -43,4 +41,5 @@ private comp;

private userHeaderClasses;
private ariaDescriptionProperties;
constructor(column: Column, parentRowCtrl: HeaderRowCtrl);
setComp(comp: IHeaderCellComp, eGui: HTMLElement, eResize: HTMLElement): void;
setComp(comp: IHeaderCellComp, eGui: HTMLElement, eResize: HTMLElement, eHeaderCompWrapper: HTMLElement): void;
private setupUserComp;

@@ -55,4 +54,4 @@ private setCompDetails;

isMenuEnabled(): boolean;
protected onFocusIn(e: FocusEvent): void;
protected onFocusOut(e: FocusEvent): void;
private onFocusIn;
private onFocusOut;
private setupTooltip;

@@ -79,2 +78,9 @@ private setupClassesFromColDef;

private setupSortableClass;
private setupWrapTextClass;
private setupAutoHeight;
private refreshAriaSort;
private refreshAriaMenu;
setAriaDescriptionProperty(property: string, value: string | null): void;
refreshAriaDescription(): void;
private refreshAria;
private addColumnHoverListener;

@@ -81,0 +87,0 @@ private setupFilterCss;

@@ -5,3 +5,3 @@ import { Column } from "../../../entities/column";

import { Component } from "../../../widgets/component";
export interface IHeaderParams extends AgGridCommon {
export interface IHeaderParams<TData = any> extends AgGridCommon<TData> {
/** The column the header is for. */

@@ -63,7 +63,5 @@ column: Column;

private menuFactory;
private readonly columnModel;
private eFilter;
private eSortAsc;
private eSortDesc;
private eSortNone;
private eSortOrder;
private eSortIndicator;
private eMenu;

@@ -89,9 +87,6 @@ private eLabel;

showMenu(eventSource?: HTMLElement): void;
private removeSortIcons;
private workOutSort;
setupSort(): void;
private onSortChanged;
private setMultiSortOrder;
private setupFilterIcon;
private onFilterChanged;
}
import { BeanStub } from "../../../context/beanStub";
import { Column } from "../../../entities/column";
import { IHeaderCellComp } from "./headerCellCtrl";
import { HeaderCellCtrl } from "./headerCellCtrl";
export declare class SelectAllFeature extends BeanStub {

@@ -12,3 +12,3 @@ private gridApi;

private column;
private comp;
private headerCellCtrl;
private filteredOnly;

@@ -19,5 +19,4 @@ private cbSelectAll;

getCheckboxGui(): HTMLElement;
setComp(comp: IHeaderCellComp): void;
setComp(ctrl: HeaderCellCtrl): void;
private showOrHideSelectAll;
private refreshHeaderAriaDescribedBy;
private onModelChanged;

@@ -24,0 +23,0 @@ private onSelectionChanged;

import { UserCompDetails } from "../../../components/framework/userComponentFactory";
import { DragItem } from "../../../dragAndDrop/dragAndDropService";
import { ColumnGroup } from "../../../entities/columnGroup";
import { Beans } from "../../../rendering/beans";
import { ITooltipFeatureComp } from "../../../widgets/tooltipFeature";

@@ -17,7 +16,5 @@ import { HeaderRowCtrl } from "../../row/headerRowCtrl";

export declare class HeaderGroupCellCtrl extends AbstractHeaderCellCtrl {
protected beans: Beans;
private columnModel;
private dragAndDropService;
private userComponentFactory;
private gridApi;
private readonly columnModel;
private readonly dragAndDropService;
private readonly gridApi;
private columnApi;

@@ -39,3 +36,3 @@ private columnGroup;

private setupMovingCss;
protected onFocusIn(e: FocusEvent): void;
private onFocusIn;
protected handleKeyDown(e: KeyboardEvent): void;

@@ -42,0 +39,0 @@ setDragSource(eHeaderGroup: HTMLElement): void;

@@ -5,3 +5,3 @@ import { ColumnGroup } from "../../../entities/columnGroup";

import { Component } from "../../../widgets/component";
export interface IHeaderGroupParams extends AgGridCommon {
export interface IHeaderGroupParams<TData = any> extends AgGridCommon<TData> {
/** The column group the header is for. */

@@ -8,0 +8,0 @@ columnGroup: ColumnGroup;

@@ -5,3 +5,2 @@ import { HeaderRowCtrl } from "../../row/headerRowCtrl";

import { IFloatingFilter } from '../../../filter/floating/floatingFilter';
import { Beans } from '../../../rendering/beans';
import { AgPromise } from '../../../utils';

@@ -19,8 +18,5 @@ import { UserCompDetails } from "../../../components/framework/userComponentFactory";

export declare class HeaderFilterCellCtrl extends AbstractHeaderCellCtrl {
private readonly userComponentFactory;
private readonly filterManager;
private readonly columnHoverService;
private readonly gridApi;
private readonly menuFactory;
protected readonly beans: Beans;
private comp;

@@ -36,6 +32,6 @@ private column;

private setupFocus;
protected onTabKeyDown(e: KeyboardEvent): void;
private onTabKeyDown;
private findNextColumnWithFloatingFilter;
protected handleKeyDown(e: KeyboardEvent): void;
protected onFocusIn(e: FocusEvent): void;
private onFocusIn;
private setupHover;

@@ -42,0 +38,0 @@ private setupLeft;

@@ -31,6 +31,7 @@ import { Column } from "../../entities/column";

private checkCenterForScrolling;
onDragging(draggingEvent: DraggingEvent, fromEnter?: boolean): void;
onDragging(draggingEvent: DraggingEvent, fromEnter?: boolean, fakeEvent?: boolean): void;
private normaliseDirection;
private calculateOldIndex;
private attemptMoveColumns;
private groupFragCount;
private calculateValidMoves;

@@ -37,0 +38,0 @@ private isColumnHidden;

@@ -13,4 +13,6 @@ import { BeanStub } from "../context/beanStub";

private eGui;
private headerHeight;
setComp(comp: IGridHeaderComp, eGui: HTMLElement, eFocusableElement: HTMLElement): void;
private setupHeaderHeight;
getHeaderHeight(): number;
private setHeaderHeight;

@@ -17,0 +19,0 @@ private onPivotModeChanged;

@@ -58,20 +58,20 @@ import { Column } from "../entities/column";

}
export interface ShouldRowBeSkippedParams extends AgGridCommon {
node: RowNode;
export interface ShouldRowBeSkippedParams<TData = any> extends AgGridCommon<TData> {
node: RowNode<TData>;
}
export interface ProcessCellForExportParams extends AgGridCommon {
export interface ProcessCellForExportParams<TData = any> extends AgGridCommon<TData> {
value: any;
accumulatedRowIndex?: number;
node?: RowNode | null;
node?: RowNode<TData> | null;
column: Column;
type: string;
}
export interface ProcessHeaderForExportParams extends AgGridCommon {
export interface ProcessHeaderForExportParams<TData = any> extends AgGridCommon<TData> {
column: Column;
}
export interface ProcessGroupHeaderForExportParams extends AgGridCommon {
export interface ProcessGroupHeaderForExportParams<TData = any> extends AgGridCommon<TData> {
columnGroup: ColumnGroup;
}
export interface ProcessRowGroupForExportParams extends AgGridCommon {
node: RowNode;
export interface ProcessRowGroupForExportParams<TData = any> extends AgGridCommon<TData> {
node: RowNode<TData>;
}

@@ -232,2 +232,4 @@ export declare type FontStyle = 'normal' | 'italic' | 'oblique';

export interface AgChartLegendLabelOptions {
/** If the label text exceeds the maximum length, it will be truncated and an ellipsis will be appended to indicate this. */
maxLength?: number;
/** The colour of the text. */

@@ -251,2 +253,4 @@ color?: CssColor;

label?: AgChartLegendLabelOptions;
/** Used to constrain the width of legend items. */
maxWidth?: PixelSize;
/** The horizontal spacing in pixels to use between legend items. */

@@ -257,2 +261,12 @@ paddingX?: PixelSize;

}
export interface AgChartLegendClickEvent {
/** Legend item id - based on series id. */
itemId: string;
/** Whether the legend item is currently enabled or not. */
enabled: boolean;
}
export interface AgChartLegendListeners {
/** The listener to call when a legend item is clicked. */
legendItemClick?: (event: AgChartLegendClickEvent) => void;
}
export interface AgChartLegendOptions {

@@ -267,2 +281,4 @@ /** Whether or not to show the legend. */

item?: AgChartLegendItemOptions;
/** Optional callbacks for specific legend-related events. */
listeners?: AgChartLegendListeners;
}

@@ -369,6 +385,10 @@ export interface AgChartTooltipOptions {

rotation?: number;
/** If specified and axis labels may collide, they are rotated so that they are positioned at the supplied angle. This is enabled by default for category. If the `rotation` property is specified, it takes precedence. */
autoRotate?: boolean;
/** If autoRotate is enabled, specifies the rotation angle to use when autoRotate is activated. Defaults to an angle of 335 degrees if unspecified. */
autoRotateAngle?: number;
/** Format string used when rendering labels for time axes. */
format?: string;
/** Function used to render axis labels. If `value` is a number, `fractionDigits` will also be provided, which indicates the number of fractional digits used in the step between ticks; for example, a tick step of `0.0005` would have `fractionDigits` set to `4` */
formatter?: (params: AgAxisLabelFormatterParams) => string;
formatter?: (params: AgAxisLabelFormatterParams) => string | undefined;
}

@@ -585,3 +605,3 @@ export interface AgAxisGridStyle {

export interface AgLineSeriesLabelOptions extends AgChartLabelOptions {
/** Function used to turn 'yKey' values into text to be displayed by a label. Be default the values are simply stringified. */
/** Function used to turn 'yKey' values into text to be displayed by a label. By default the values are simply stringified. */
formatter?: (params: {

@@ -675,3 +695,3 @@ value: any;

export interface AgAreaSeriesLabelOptions extends AgChartLabelOptions {
/** Function used to turn 'yKey' values into text to be displayed by a label. Be default the values are simply stringified. */
/** Function used to turn 'yKey' values into text to be displayed by a label. By default the values are simply stringified. */
formatter?: (params: {

@@ -742,3 +762,3 @@ value: any;

export interface AgBarSeriesLabelOptions extends AgChartLabelOptions {
/** Function used to turn 'yKey' values into text to be displayed by a label. Be default the values are simply stringified. */
/** Function used to turn 'yKey' values into text to be displayed by a label. By default the values are simply stringified. */
formatter?: (params: {

@@ -835,3 +855,3 @@ value: number;

export interface AgHistogramSeriesLabelOptions extends AgChartLabelOptions {
/** Function used to turn 'yKey' values into text to be displayed by a label. Be default the values are simply stringified. */
/** Function used to turn 'yKey' values into text to be displayed by a label. By default the values are simply stringified. */
formatter?: (params: {

@@ -961,2 +981,6 @@ value: number;

innerRadiusOffset?: PixelSize;
/** Override of the automatically determined minimum radiusKey value from the data. */
radiusMin?: number;
/** Override of the automatically determined maximum radiusKey value from the data. */
radiusMax?: number;
/** Configuration for the shadow used behind the chart series. */

@@ -963,0 +987,0 @@ shadow?: AgDropShadowOptions;

@@ -48,3 +48,3 @@ import { ColDef } from "../entities/colDef";

}
export interface ICellEditorParams extends AgGridCommon {
export interface ICellEditorParams<TData = any> extends AgGridCommon<TData> {
/** Current value of the cell */

@@ -63,7 +63,7 @@ value: any;

/** Column definition */
colDef: ColDef;
colDef: ColDef<TData>;
/** Row node for the cell */
node: RowNode;
node: RowNode<TData>;
/** Row data */
data: any;
data: TData;
/** Editing row index */

@@ -90,3 +90,3 @@ rowIndex: number;

}
export interface ICellEditorComp extends ICellEditor, IPopupComponent<ICellEditorParams> {
export interface ICellEditorComp<TData = any> extends ICellEditor, IPopupComponent<ICellEditorParams<TData>> {
}

@@ -6,3 +6,3 @@ import { ChartType, SeriesChartType } from "./iChartOptions";

import { IAggFunc } from "../entities/colDef";
import { AgChartThemeOverrides } from "./iAgChartOptions";
import { AgChartThemeOverrides, AgChartThemePalette } from "./iAgChartOptions";
export interface GetChartImageDataUrlParams {

@@ -27,2 +27,3 @@ /** The id of the created chart. */

chartOptions: AgChartThemeOverrides;
chartPalette?: AgChartThemePalette;
suppressChartRanges?: boolean;

@@ -29,0 +30,0 @@ aggFunc?: string | IAggFunc;

@@ -16,9 +16,9 @@ import { IRowModel } from './iRowModel';

}
export interface IClientSideRowModel extends IRowModel {
export interface IClientSideRowModel<TData = any> extends IRowModel {
onRowGroupOpened(): void;
updateRowData(rowDataTran: RowDataTransaction, rowNodeOrder?: {
updateRowData(rowDataTran: RowDataTransaction<TData>, rowNodeOrder?: {
[id: string]: number;
} | null): RowNodeTransaction | null;
} | null): RowNodeTransaction<TData> | null;
setRowData(rowData: any[]): void;
refreshModel(params: RefreshModelParams): void;
refreshModel(params: RefreshModelParams<TData>): void;
expandOrCollapseAll(expand: boolean): void;

@@ -31,3 +31,3 @@ forEachLeafNode(callback: (node: RowNode, index: number) => void): void;

onRowHeightChanged(): void;
batchUpdateRowData(rowDataTransaction: RowDataTransaction, callback?: (res: RowNodeTransaction) => void): void;
batchUpdateRowData(rowDataTransaction: RowDataTransaction<TData>, callback?: (res: RowNodeTransaction<TData>) => void): void;
flushAsyncTransactions(): void;

@@ -43,3 +43,3 @@ getRootNode(): RowNode;

}
export interface RefreshModelParams {
export interface RefreshModelParams<TData = any> {
step: ClientSideRowModelSteps;

@@ -50,3 +50,3 @@ groupState?: any;

keepEditingRows?: boolean;
rowNodeTransactions?: RowNodeTransaction[];
rowNodeTransactions?: RowNodeTransaction<TData>[];
rowNodeOrder?: {

@@ -53,0 +53,0 @@ [id: string]: number;

@@ -7,6 +7,6 @@ import { ColumnApi } from "../columns/columnApi";

*/
export declare type WithoutGridCommon<T extends AgGridCommon> = Omit<T, keyof AgGridCommon>;
export interface AgGridCommon {
export declare type WithoutGridCommon<T extends AgGridCommon<any>> = Omit<T, keyof AgGridCommon<any>>;
export interface AgGridCommon<TData> {
/** The grid api. */
api: GridApi;
api: GridApi<TData>;
/** The column api. */

@@ -13,0 +13,0 @@ columnApi: ColumnApi;

@@ -100,3 +100,3 @@ import { Column } from "../entities/column";

styleId?: string;
data: ExcelData;
data?: ExcelData;
mergeAcross?: number;

@@ -160,3 +160,3 @@ collapsibleRanges?: number[][];

}
export interface ExcelExportParams extends ExportParams<ExcelCell[][]> {
export interface ExcelExportParams extends ExportParams<ExcelRow[]> {
author?: string;

@@ -163,0 +163,0 @@ autoConvertFormulas?: boolean;

@@ -45,6 +45,8 @@ import { ColDef, ValueGetterFunc } from '../entities/colDef';

isFilterActive(): boolean;
/** The grid will ask each active filter, in turn, whether each row in the grid passes. If any
filter fails, then the row will be excluded from the final set. The method is provided a
params object with attributes node (the rodNode the grid creates that wraps the data) and data
(the data object that you provided to the grid for that row). */
/**
* The grid will ask each active filter, in turn, whether each row in the grid passes. If any
* filter fails, then the row will be excluded from the final set. The method is provided a
* params object with attributes node (the rodNode the grid creates that wraps the data) and data
* (the data object that you provided to the grid for that row).
*/
doesFilterPass(params: IDoesFilterPassParams): boolean;

@@ -86,9 +88,9 @@ /**

}
export interface IFilterComp extends IFilter, IComponent<IFilterParams> {
export interface IFilterComp<TData = any> extends IComponent<IFilterParams<TData>>, IFilter {
}
export interface IDoesFilterPassParams {
export interface IDoesFilterPassParams<TData = any> {
/** The row node in question. */
node: RowNode;
node: RowNode<TData>;
/** The data part of the row node in question. */
data: any;
data: TData;
}

@@ -109,7 +111,7 @@ export interface IFilterOptionDef {

}
export interface IFilterParams extends AgGridCommon {
export interface IFilterParams<TData = any> extends AgGridCommon<TData> {
/** The column this filter is for. */
column: Column;
/** The column definition for the column. */
colDef: ColDef;
colDef: ColDef<TData>;
/**

@@ -146,3 +148,3 @@ * The row model, helpful for looking up data values if needed.

*/
valueGetter: ValueGetterFunc;
valueGetter: ValueGetterFunc<TData>;
/**

@@ -154,3 +156,3 @@ * A function callback, call with a node to be told whether the node passes all filters except the current filter.

*/
doesRowPassOtherFilter: (rowNode: RowNode) => boolean;
doesRowPassOtherFilter: (rowNode: RowNode<TData>) => boolean;
}

@@ -30,3 +30,3 @@ import { IProvidedFilter } from "../filter/provided/providedFilter";

}
export interface IMultiFilterParams extends IFilterParams {
export interface IMultiFilterParams<TData = any> extends IFilterParams<TData> {
/** An array of filter definition objects. */

@@ -33,0 +33,0 @@ filters?: IMultiFilterDef[];

@@ -22,3 +22,3 @@ import { Column } from "../entities/column";

addCellRange(params: CellRangeParams): void;
extendLatestRangeInDirection(key: string): CellPosition | undefined;
extendLatestRangeInDirection(event: KeyboardEvent): CellPosition | undefined;
extendLatestRangeToCell(cell: CellPosition): void;

@@ -25,0 +25,0 @@ updateRangeEnd(cellRange: CellRange, cellPosition: CellPosition, silent?: boolean): void;

@@ -12,3 +12,3 @@ import { RowNode } from "../entities/rowNode";

getRowNode(id: string): RowNode | undefined;
/** This is legacy, not used by AG Grid, but keeping for backward compatibility */
/** Returns the number of rows */
getRowCount(): number;

@@ -15,0 +15,0 @@ getTopLevelRowCount(): number;

import { RowNode } from "../entities/rowNode";
import { ChangedPath } from "../utils/changedPath";
import { RowNodeTransaction } from "./rowNodeTransaction";
export interface StageExecuteParams {
rowNode: RowNode;
rowNodeTransaction?: RowNodeTransaction | null;
rowNodeTransactions?: RowNodeTransaction[] | null;
export interface StageExecuteParams<TData = any> {
rowNode: RowNode<TData>;
rowNodeTransaction?: RowNodeTransaction<TData> | null;
rowNodeTransactions?: RowNodeTransaction<TData>[] | null;
rowNodeOrder?: {

@@ -14,4 +14,4 @@ [id: string]: number;

}
export interface IRowNodeStage {
execute(params: StageExecuteParams): any;
export interface IRowNodeStage<TData = any> {
execute(params: StageExecuteParams<TData>): any;
}
import { RowNode } from "../entities/rowNode";
import { ColumnVO } from "./iColumnVO";
import { ColumnApi } from "../columns/columnApi";
import { GridApi } from "../gridApi";
import { LoadSuccessParams } from "../rowNodeCache/rowNodeBlock";
import { SortModelItem } from "../sortController";
import { AgGridCommon } from "./iCommon";
export interface IServerSideGetRowsRequest {

@@ -27,3 +26,3 @@ /** First row requested or undefined for all rows. */

}
export interface IServerSideGetRowsParams {
export interface IServerSideGetRowsParams<TData = any> extends AgGridCommon<TData> {
/**

@@ -54,4 +53,2 @@ * Details for the request. A simple object that can be converted to JSON.

fail(): void;
api: GridApi;
columnApi: ColumnApi;
}

@@ -58,0 +55,0 @@ export interface IServerSideDatasource {

import { IRowModel } from "./iRowModel";
import { ServerSideTransaction, ServerSideTransactionResult } from "./serverSideTransaction";
import { ServerSideStoreState } from "./IServerSideStore";
import { ServerSideGroupLevelState } from "./IServerSideStore";
import { IServerSideDatasource } from "./iServerSideDatasource";
import { RowNode } from "../entities/rowNode";
export interface IServerSideRowModel extends IRowModel {
refreshStore(params?: RefreshStoreParams): void;
refreshStore(params?: RefreshServerSideParams): void;
onRowHeightChanged(): void;
getStoreState(): ServerSideStoreState[];
getStoreState(): ServerSideGroupLevelState[];
retryLoads(): void;

@@ -20,7 +20,7 @@ expandAll(value: boolean): void;

}
export interface RefreshStoreParams {
export interface RefreshServerSideParams {
/**
* List of group keys, pointing to the store to refresh.
* For example, to purge the cache two levels down under 'Canada'and then '2002', pass in the string array ['Canada','2002'].
* If no route is passed, or an empty array, then the top level store is refreshed.
* List of group keys, pointing to the level to refresh.
* For example, to purge two levels down under 'Canada'and then '2002', pass in the string array ['Canada','2002'].
* If no route is passed, or an empty array, then the top level is refreshed.
*/

@@ -34,1 +34,4 @@ route?: string[];

}
/** @deprecated use RefreshServerSideParams instead */
export interface RefreshStoreParams extends RefreshServerSideParams {
}

@@ -5,3 +5,2 @@ import { NumberSequence } from "../utils";

import { ServerSideTransaction, ServerSideTransactionResult } from "./serverSideTransaction";
import { ServerSideStoreType } from "../entities/gridOptions";
export interface IServerSideStore {

@@ -30,3 +29,3 @@ clearDisplayIndexes(): void;

getRowNodesInRange(firstInRange: RowNode, lastInRange: RowNode): RowNode[];
addStoreStates(result: ServerSideStoreState[]): void;
addStoreStates(result: ServerSideGroupLevelState[]): void;
}

@@ -36,29 +35,31 @@ export interface StoreRefreshAfterParams {

secondaryColChanged: boolean;
alwaysReset: boolean;
changedColumns: string[];
}
export interface ServerSideStoreState {
/** Store type, `partial` or `full` */
type: ServerSideStoreType;
/** The route that identifies this store. */
export interface ServerSideGroupLevelState {
/** True if infininte scrolling */
infiniteScroll: boolean;
/** The route that identifies this level. */
route: string[];
/** How many rows the store has. This includes 'loading rows'. */
/** How many rows the level has. This includes 'loading rows'. */
rowCount: number;
/**
* Partial store only.
* Infinite Scroll only.
* Whether the last row index is know.
* */
lastRowIndexKnown?: boolean;
/** Any extra info provided to the store, when data was loaded. */
/** Any extra info provided to the level, when data was loaded. */
info?: any;
/**
* Partial store only.
* Max blocks allowed in the store.
*Infinite Scroll only.
* Max blocks allowed in the infinite cache.
*/
maxBlocksInCache?: number;
/**
* Partial store only.
* The size (number of rows) of each block.
* Infinite Scroll only.
* The size (number of rows) of each infinite cache block.
*/
cacheBlockSize?: number;
}
/** @deprecated use ServerSideGroupLevelState instead */
export interface ServerSideGroupState extends ServerSideGroupLevelState {
}

@@ -52,16 +52,16 @@ import { ColDef, ValueFormatterParams } from '../entities/colDef';

}
export interface SetFilterValuesFuncParams {
export interface SetFilterValuesFuncParams<TData = any> {
/** The function to call with the values to load into the filter once they are ready. */
success: (values: string[]) => void;
/** The column definition from which the set filter is invoked. */
colDef: ColDef;
colDef: ColDef<TData>;
/** Column from which the set filter is invoked. */
column: Column;
columnApi: ColumnApi;
api: GridApi;
api: GridApi<TData>;
/** The context as provided on `gridOptions.context` */
context: any;
}
export declare type SetFilterValuesFunc = (params: SetFilterValuesFuncParams) => void;
export declare type SetFilterValues = SetFilterValuesFunc | any[];
export declare type SetFilterValuesFunc<TData = any> = (params: SetFilterValuesFuncParams<TData>) => void;
export declare type SetFilterValues<TData = any> = SetFilterValuesFunc<TData> | any[];
export interface ISetFilterParams extends IProvidedFilterParams {

@@ -68,0 +68,0 @@ /**

import { ICellRendererParams } from "../rendering/cellRenderers/iCellRenderer";
export interface ISparklineCellRendererParams extends ICellRendererParams {
export interface ISparklineCellRendererParams<TData = any> extends ICellRendererParams<TData> {
sparklineOptions?: SparklineOptions;

@@ -4,0 +4,0 @@ }

@@ -11,3 +11,3 @@ import { IComponent } from "./iComponent";

}
export interface IStatusPanelParams extends AgGridCommon {
export interface IStatusPanelParams<TData = any> extends AgGridCommon<TData> {
}

@@ -14,0 +14,0 @@ export interface IStatusPanel {

@@ -5,3 +5,3 @@ import { ColDef, ColGroupDef } from "../entities/colDef";

import { AgGridCommon } from "./iCommon";
export interface IToolPanelParams extends AgGridCommon {
export interface IToolPanelParams<TData = any> extends AgGridCommon<TData> {
}

@@ -8,0 +8,0 @@ export interface IToolPanel {

@@ -6,22 +6,23 @@ import { GridOptions } from "../entities/gridOptions";

import { ColumnApi } from "../columns/columnApi";
export interface IDetailCellRenderer {
export interface IDetailCellRenderer<TData = any> {
addOrRemoveCssClass(cssClassName: string, on: boolean): void;
addOrRemoveDetailGridCssClass(cssClassName: string, on: boolean): void;
setDetailGrid(gridOptions: GridOptions): void;
setRowData(rowData: any[]): void;
setDetailGrid(gridOptions: GridOptions<TData>): void;
setRowData(rowData: TData[]): void;
getGui(): HTMLElement;
}
export interface IDetailCellRendererParams extends ICellRendererParams {
export interface IDetailCellRendererParams<TData = any, TDetail = any> extends ICellRendererParams<TData> {
/**
* Provide Grid Options to use for the Detail Grid.
*/
detailGridOptions: GridOptions;
detailGridOptions: GridOptions<TDetail>;
/** A function that provides what rows to display in the Detail Grid. */
getDetailRowData: GetDetailRowData;
getDetailRowData: GetDetailRowData<TData, TDetail>;
/** Defines how to refresh the Detail Grids as data is changing in the Master Grid. */
refreshStrategy: 'rows' | 'everything' | 'nothing';
/** Allows changing the template used around the Detail Grid. */
template: string | TemplateFunc;
template: string | TemplateFunc<TData>;
agGridReact: any;
frameworkComponentWrapper: any;
pinned: string;
pinned: "left" | "right" | null | undefined;
/** @deprecated */

@@ -32,15 +33,15 @@ autoHeight: boolean;

}
export interface GetDetailRowData {
(params: GetDetailRowDataParams): void;
export interface GetDetailRowData<TData = any, TDetail = any> {
(params: GetDetailRowDataParams<TData, TDetail>): void;
}
export interface GetDetailRowDataParams {
export interface GetDetailRowDataParams<TData = any, TDetail = any> {
/** Row node for the details request. */
node: RowNode;
node: RowNode<TData>;
/** Data for the current row. */
data: any;
data: TData;
/** Success callback: pass the rows back for the grid request. */
successCallback(rowData: any[]): void;
successCallback(rowData: TDetail[]): void;
}
interface TemplateFunc {
(params: ICellRendererParams): string;
interface TemplateFunc<TData = any> {
(params: ICellRendererParams<TData>): string;
}

@@ -47,0 +48,0 @@ export interface IDetailCellRendererCtrl {

@@ -1,10 +0,10 @@

export interface RowDataTransaction {
export interface RowDataTransaction<TData = any> {
/** Index to add rows */
addIndex?: number | null;
/** Rows to add */
add?: any[] | null;
add?: TData[] | null;
/** Rows to remove */
remove?: any[] | null;
remove?: TData[] | null;
/** Rows to update */
update?: any[] | null;
update?: TData[] | null;
}
import { RowNode } from "../entities/rowNode";
export interface RowNodeTransaction {
export interface RowNodeTransaction<TData = any> {
/** Row nodes added */
add: RowNode[];
add: RowNode<TData>[];
/** Row nodes removed */
remove: RowNode[];
remove: RowNode<TData>[];
/** Row nodes updated */
update: RowNode[];
update: RowNode<TData>[];
}

@@ -56,2 +56,3 @@ export { ColumnFactory } from "./columns/columnFactory";

export { HeaderCellCtrl, IHeaderCellComp } from "./headerRendering/cells/column/headerCellCtrl";
export { SortIndicatorComp } from "./headerRendering/cells/column/sortIndicatorComp";
export { HeaderFilterCellCtrl, IHeaderFilterCellComp } from "./headerRendering/cells/floatingFilter/headerFilterCellCtrl";

@@ -99,2 +100,3 @@ export { HeaderGroupCellCtrl, IHeaderGroupCellComp } from "./headerRendering/cells/columnGroup/headerGroupCellCtrl";

export { ILoadingCellRenderer, ILoadingCellRendererComp, ILoadingCellRendererParams } from "./rendering/cellRenderers/loadingCellRenderer";
export { CssClassManager } from "./rendering/cssClassManager";
export { PinnedRowModel } from "./pinnedRowModel/pinnedRowModel";

@@ -112,4 +114,4 @@ export { RowNodeTransaction } from "./interfaces/rowNodeTransaction";

export { IServerSideDatasource, IServerSideGetRowsParams, IServerSideGetRowsRequest } from "./interfaces/iServerSideDatasource";
export { IServerSideRowModel, IServerSideTransactionManager, RefreshStoreParams } from "./interfaces/iServerSideRowModel";
export { IServerSideStore, StoreRefreshAfterParams, ServerSideStoreState } from "./interfaces/IServerSideStore";
export { IServerSideRowModel, IServerSideTransactionManager, RefreshStoreParams, RefreshServerSideParams } from "./interfaces/iServerSideRowModel";
export { IServerSideStore, StoreRefreshAfterParams, ServerSideGroupState, ServerSideGroupLevelState } from "./interfaces/IServerSideStore";
export { ISideBar } from "./interfaces/iSideBar";

@@ -138,3 +140,3 @@ export { IGetRowsParams, IDatasource } from "./interfaces/iDatasource";

export { ListOption } from "./widgets/agList";
export { Component, VisibleChangedEvent, CssClassManager } from "./widgets/component";
export { Component, VisibleChangedEvent } from "./widgets/component";
export { ManagedFocusFeature, ManagedFocusCallbacks } from "./widgets/managedFocusFeature";

@@ -189,4 +191,4 @@ export { TabGuardComp } from "./widgets/tabGuardComp";

export { IAggFunc, IAggFuncParams, ColGroupDef, ColDef, AbstractColDef, ValueSetterParams, ValueParserParams, ValueFormatterParams, ValueFormatterFunc, ValueParserFunc, ValueGetterFunc, ValueSetterFunc, HeaderValueGetterFunc, HeaderValueGetterParams, ColSpanParams, RowSpanParams, SuppressKeyboardEventParams, SuppressHeaderKeyboardEventParams, ValueGetterParams, NewValueParams, CellClassParams, CellClassFunc, CellStyleFunc, CellStyle, CellClassRules, CellEditorSelectorFunc, CellEditorSelectorResult, CellRendererSelectorFunc, CellRendererSelectorResult, GetQuickFilterTextParams, ColumnFunctionCallbackParams, CheckboxSelectionCallbackParams, CheckboxSelectionCallback, RowDragCallback, RowDragCallbackParams, DndSourceCallback, DndSourceCallbackParams, DndSourceOnRowDragParams, EditableCallbackParams, EditableCallback, SuppressPasteCallback, SuppressPasteCallbackParams, SuppressNavigableCallback, SuppressNavigableCallbackParams, HeaderCheckboxSelectionCallbackParams, HeaderCheckboxSelectionCallback, ColumnsMenuParams, HeaderClassParams, HeaderClass, ToolPanelClassParams, ToolPanelClass, KeyCreatorParams, IsColumnFunc, IsColumnFuncParams } from "./entities/colDef";
export { GridOptions, IsApplyServerSideTransaction, GetContextMenuItems, GetDataPath, IsRowMaster, IsRowSelectable, IsRowFilterable, MenuItemLeafDef, MenuItemDef, GetMainMenuItems, GetRowNodeIdFunc, GetRowIdFunc, ChartRef, ChartRefParams, RowClassRules, RowStyle, RowClassParams, ServerSideStoreType, ServerSideStoreParams, GetServerSideGroupKey, IsServerSideGroup, GetChartToolbarItems, RowGroupingDisplayType, TreeDataDisplayType, LoadingCellRendererSelectorFunc, LoadingCellRendererSelectorResult, } from "./entities/gridOptions";
export { FillOperationParams, RowHeightParams, GetRowIdParams, ProcessRowParams, IsServerSideGroupOpenByDefaultParams, IsApplyServerSideTransactionParams, IsGroupOpenByDefaultParams, GetServerSideStoreParamsParams, PaginationNumberFormatterParams, ProcessDataFromClipboardParams, SendToClipboardParams, GetChartToolbarItemsParams, NavigateToNextHeaderParams, TabToNextHeaderParams, NavigateToNextCellParams, TabToNextCellParams, GetContextMenuItemsParams, GetMainMenuItemsParams, PostProcessPopupParams, IsExternalFilterPresentParams, InitialGroupOrderComparatorParams, GetGroupRowAggParams, IsFullWidthRowParams, PostSortRowsParams, GetLocaleTextParams, GetGroupAggFilteringParams, } from "./entities/iCallbackParams";
export { GridOptions, IsApplyServerSideTransaction, GetContextMenuItems, GetDataPath, IsRowMaster, IsRowSelectable, IsRowFilterable, MenuItemLeafDef, MenuItemDef, GetMainMenuItems, GetRowNodeIdFunc, GetRowIdFunc, ChartRef, ChartRefParams, RowClassRules, RowStyle, RowClassParams, ServerSideStoreType, ServerSideGroupLevelParams, ServerSideStoreParams, GetServerSideGroupKey, IsServerSideGroup, GetChartToolbarItems, RowGroupingDisplayType, TreeDataDisplayType, LoadingCellRendererSelectorFunc, LoadingCellRendererSelectorResult, } from "./entities/gridOptions";
export { FillOperationParams, RowHeightParams, GetRowIdParams, ProcessRowParams, IsServerSideGroupOpenByDefaultParams, IsApplyServerSideTransactionParams, IsGroupOpenByDefaultParams, GetServerSideGroupLevelParamsParams, GetServerSideStoreParamsParams, PaginationNumberFormatterParams, ProcessDataFromClipboardParams, SendToClipboardParams, GetChartToolbarItemsParams, NavigateToNextHeaderParams, TabToNextHeaderParams, NavigateToNextCellParams, TabToNextCellParams, GetContextMenuItemsParams, GetMainMenuItemsParams, PostProcessPopupParams, IsExternalFilterPresentParams, InitialGroupOrderComparatorParams, GetGroupRowAggParams, IsFullWidthRowParams, PostSortRowsParams, GetLocaleTextParams, GetGroupAggFilteringParams, } from "./entities/iCallbackParams";
export { WithoutGridCommon } from "./interfaces/iCommon";

@@ -193,0 +195,0 @@ export * from "./propertyKeys";

@@ -28,2 +28,3 @@ import { Component } from "../widgets/component";

private enableOrDisableButtons;
private toggleButtonDisabled;
private updateRowLabels;

@@ -30,0 +31,0 @@ private isZeroPagesToDisplay;

@@ -70,3 +70,2 @@ import { Beans } from "./../beans";

private isIncludeControl;
private setupAriaExpanded;
refreshShouldDestroy(): boolean;

@@ -73,0 +72,0 @@ startEditing(key?: string | null, charPress?: string | null, cellStartedEdit?: boolean, event?: KeyboardEvent | MouseEvent | null): void;

@@ -21,3 +21,3 @@ import { UserCompDetails } from "../../components/framework/userComponentFactory";

*/
pinned: string;
pinned?: "left" | "right" | null;
/** 'true' if comp is showing full width. */

@@ -59,2 +59,3 @@ fullWidth: boolean;

private readonly gridOptions;
private ctrlsService;
private params;

@@ -68,2 +69,3 @@ private showingValueForOpenedParent;

private eCheckbox;
private expandListener;
private indentClass;

@@ -73,2 +75,4 @@ private comp;

init(comp: IGroupCellRenderer, eGui: HTMLElement, eCheckbox: HTMLElement, eExpanded: HTMLElement, eContracted: HTMLElement, compClass: any, params: GroupCellRendererParams): void;
protected destroy(): void;
private refreshAriaExpanded;
private isTopLevelFooter;

@@ -87,4 +91,5 @@ private isEmbeddedRowMismatch;

private addExpandAndContract;
onExpandClicked(mouseEvent: MouseEvent): void;
onExpandOrContract(): void;
private onExpandClicked;
private onExpandOrContract;
private scrollToStickyNode;
private isExpandable;

@@ -99,3 +104,3 @@ private showExpandAndContractIcons;

private onKeyDown;
onCellDblClicked(mouseEvent: MouseEvent): void;
private onCellDblClicked;
}

@@ -6,3 +6,3 @@ import { ColDef } from "../../entities/colDef";

import { IComponent } from "../../interfaces/iComponent";
export interface ICellRendererParams extends AgGridCommon {
export interface ICellRendererParams<TData = any> extends AgGridCommon<TData> {
/** Value to be rendered. */

@@ -15,7 +15,7 @@ value: any;

/** Pinned state of the cell. */
pinned?: string | null;
/** The row's data. */
data: any;
pinned?: "left" | "right" | null;
/** The row's data. Data property can be `undefined` when row grouping or loading infinite row models. */
data: TData | undefined;
/** The row node. */
node: RowNode;
node: RowNode<TData>;
/** The current index of the row (this changes after filter and sort). */

@@ -48,3 +48,3 @@ rowIndex: number;

}
export interface ISetFilterCellRendererParams extends AgGridCommon {
export interface ISetFilterCellRendererParams<TData = any> extends AgGridCommon<TData> {
value: any;

@@ -57,11 +57,13 @@ valueFormatted: any;

}
export interface ICellRenderer {
/** Get the cell to refresh. Return true if successful. Return false if not (or you don't have refresh logic),
* then the grid will refresh the cell for you. */
refresh(params: ICellRendererParams): boolean;
export interface ICellRenderer<TData = any> {
/**
* Get the cell to refresh. Return true if successful. Return false if not (or you don't have refresh logic),
* then the grid will refresh the cell for you.
*/
refresh(params: ICellRendererParams<TData>): boolean;
}
export interface ICellRendererComp extends ICellRenderer, IComponent<ICellRendererParams> {
export interface ICellRendererComp<TData = any> extends IComponent<ICellRendererParams<TData>>, ICellRenderer<TData> {
}
export interface ICellRendererFunc {
(params: ICellRendererParams): HTMLElement | string;
export interface ICellRendererFunc<TData = any> {
(params: ICellRendererParams<TData>): HTMLElement | string;
}

@@ -23,3 +23,3 @@ import { IComponent } from "../interfaces/iComponent";

}
export interface IDateParams extends AgGridCommon {
export interface IDateParams<TData = any> extends AgGridCommon<TData> {
/** Method for component to tell AG Grid that the date has changed. */

@@ -26,0 +26,0 @@ onDateChanged: () => void;

import { IComponent } from "../../interfaces/iComponent";
import { AgGridCommon } from "../../interfaces/iCommon";
import { Component } from "../../widgets/component";
export interface ILoadingOverlayParams extends AgGridCommon {
export interface ILoadingOverlayParams<TData = any> extends AgGridCommon<TData> {
}

@@ -6,0 +6,0 @@ export interface ILoadingOverlayComp extends IComponent<ILoadingOverlayParams> {

import { AgGridCommon } from "../../interfaces/iCommon";
import { IComponent } from "../../interfaces/iComponent";
import { Component } from "../../widgets/component";
export interface INoRowsOverlayParams extends AgGridCommon {
export interface INoRowsOverlayParams<TData = any> extends AgGridCommon<TData> {
}

@@ -6,0 +6,0 @@ export interface INoRowsOverlayComp extends IComponent<INoRowsOverlayParams> {

@@ -14,2 +14,3 @@ import { Component } from '../../widgets/component';

private destroyRequested;
private manuallyDisplayed;
constructor();

@@ -26,4 +27,4 @@ updateLayoutClasses(cssClass: string, params: UpdateLayoutClassesParams): void;

private showOrHideOverlay;
private onRowDataChanged;
private onRowDataUpdated;
private onNewColumnsLoaded;
}

@@ -61,5 +61,4 @@ import { UserCompDetails } from "../../components/framework/userComponentFactory";

private updateColumnListsPending;
private initialTop;
private initialTransform;
constructor(rowNode: RowNode, beans: Beans, animateIn: boolean, useAnimationFrameForCreate: boolean, printLayout: boolean);
isSticky(): boolean;
getBeans(): Beans;

@@ -112,3 +111,3 @@ getInstanceId(): string;

setupDetailRowAutoHeight(eDetailGui: HTMLElement): void;
createFullWidthParams(eRow: HTMLElement, pinned: string | null): ICellRendererParams;
createFullWidthParams(eRow: HTMLElement, pinned: 'left' | 'right' | null): ICellRendererParams;
private addFullWidthRowDragging;

@@ -153,3 +152,3 @@ private onUiLevelChanged;

getInitialTransform(): string | undefined;
private setInitialRowTop;
private getInitialRowTopShared;
private setRowTopStyle;

@@ -156,0 +155,0 @@ getRowNode(): RowNode;

@@ -15,2 +15,3 @@ import { RowCtrl } from "./row/rowCtrl";

export declare class RowRenderer extends BeanStub {
private animationFrameService;
private paginationProxy;

@@ -38,5 +39,7 @@ private columnModel;

private pinningRight;
private firstVisibleVPixel;
private refreshInProgress;
private printLayout;
private embedFullWidthRows;
private stickyRowFeature;
private postConstruct;

@@ -46,2 +49,3 @@ private initialise;

getRowCtrls(): RowCtrl[];
getStickyTopRowCtrls(): RowCtrl[];
private updateAllRowCtrls;

@@ -100,2 +104,3 @@ private registerCellEventListeners;

private ensureAllRowsInRangeHaveHeightsCalculated;
getFirstVisibleVerticalPixel(): number;
getFirstVirtualRenderedRow(): number;

@@ -105,3 +110,3 @@ getLastVirtualRenderedRow(): number;

private createRowCon;
getRenderedNodes(): RowNode[];
getRenderedNodes(): RowNode<any>[];
getRowByPosition(rowPosition: RowPosition): RowCtrl | null;

@@ -108,0 +113,0 @@ getRowNode(gridRow: RowPosition): RowNode | undefined;

@@ -8,3 +8,3 @@ import { PopupComponent } from '../widgets/popupComponent';

import { AgGridCommon } from '../interfaces/iCommon';
export interface ITooltipParams extends AgGridCommon {
export interface ITooltipParams<TData = any> extends AgGridCommon<TData> {
/** What part of the application is showing the tooltip, e.g. 'cell', 'header', 'menuItem' etc */

@@ -23,5 +23,5 @@ location: string;

/** The row node. */
node?: RowNode;
node?: RowNode<TData>;
/** Data for the row node in question. */
data?: any;
data?: TData;
}

@@ -28,0 +28,0 @@ export interface ITooltipComp extends IComponent<ITooltipParams> {

@@ -13,9 +13,13 @@ import { AgEvent } from "../events";

/**
* The last row, if known, to help Infinite Scroll (i.e Partial Store) and Pagination.
* The last row, if known, to help Infinite Scroll.
*/
rowCount?: number;
/**
* @deprecated use groupLevelInfo instead
*/
storeInfo?: any;
/**
* Any extra information for the grid to associate with this load.
*/
storeInfo?: any;
groupLevelInfo?: any;
}

@@ -22,0 +26,0 @@ export declare abstract class RowNodeBlock extends BeanStub {

@@ -16,3 +16,3 @@ import { RowNode } from "./entities/rowNode";

getLastSelectedNode(): RowNode | null;
getSelectedNodes(): RowNode[];
getSelectedNodes(): RowNode<any>[];
getSelectedRows(): any[];

@@ -19,0 +19,0 @@ removeGroupsFromSelection(): void;

@@ -22,3 +22,3 @@ import { BeanStub } from "./context/beanStub";

dispatchSortChangedEvents(source: string): void;
private clearSortBarThisColumn;
private clearSortBarTheseColumns;
private getNextSortDirection;

@@ -25,0 +25,0 @@ getColumnsWithSortingOrdered(): Column[];

@@ -8,4 +8,5 @@ import { Column } from '../entities/column';

export declare function getAriaDescribedBy(element: HTMLElement): string;
export declare function setAriaLabel(element: HTMLElement, label: string): void;
export declare function setAriaLabel(element: HTMLElement, label?: string): void;
export declare function setAriaLabelledBy(element: HTMLElement, labelledBy: string): void;
export declare function setAriaDescription(element: HTMLElement, description?: string): void;
export declare function setAriaDescribedBy(element: HTMLElement, describedby: string | undefined): void;

@@ -12,0 +13,0 @@ export declare function setAriaLevel(element: HTMLElement, level: number): void;

@@ -0,1 +1,8 @@

/**
* from https://stackoverflow.com/a/16938481/1388233
*/
export declare function getBrowserInfo(): {
name: string;
version: number;
};
export declare function isBrowserEdge(): boolean;

@@ -6,2 +13,3 @@ export declare function isBrowserSafari(): boolean;

export declare function isIOSUserAgent(): boolean;
export declare function browserSupportsPreventScroll(): boolean;
export declare function getTabIndex(el: HTMLElement | null): string | null;

@@ -8,0 +16,0 @@ export declare function getMaxDivHeight(): number;

@@ -31,1 +31,2 @@ /**

export declare function callIfPresent(func: Function): void;
export declare const noop: () => void;

@@ -17,1 +17,2 @@ import { GridOptionsWrapper } from '../gridOptionsWrapper';

export declare function isUserSuppressingHeaderKeyboardEvent(gridOptionsWrapper: GridOptionsWrapper, keyboardEvent: KeyboardEvent, headerRowIndex: number, column: Column | ColumnGroup): boolean;
export declare function normaliseQwertyAzerty(keyboardEvent: KeyboardEvent): string;

@@ -10,6 +10,6 @@ import * as AriaUtils from './aria';

convertToSet<T>(list: T[]): Set<T>;
sortRowNodesByOrder(rowNodes: import("../main").RowNode[], rowNodeOrder: {
sortRowNodesByOrder(rowNodes: import("../main").RowNode<any>[], rowNodeOrder: {
[id: string]: number;
}): void;
traverseNodesWithKey(nodes: import("../main").RowNode[] | null, callback: (node: import("../main").RowNode, key: string) => void): void;
traverseNodesWithKey(nodes: import("../main").RowNode<any>[] | null, callback: (node: import("../main").RowNode<any>, key: string) => void): void;
iterateObject<T_1>(object: {

@@ -48,4 +48,5 @@ [p: string]: T_1;

isEventFromPrintableCharacter(event: KeyboardEvent): boolean;
isUserSuppressingKeyboardEvent(gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, keyboardEvent: KeyboardEvent, rowNode: import("../main").RowNode, column: import("../main").Column, editing: boolean): boolean;
isUserSuppressingKeyboardEvent(gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, keyboardEvent: KeyboardEvent, rowNode: import("../main").RowNode<any>, column: import("../main").Column, editing: boolean): boolean;
isUserSuppressingHeaderKeyboardEvent(gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, keyboardEvent: KeyboardEvent, headerRowIndex: number, column: import("../main").Column | import("../main").ColumnGroup): boolean;
normaliseQwertyAzerty(keyboardEvent: KeyboardEvent): string;
createIcon(iconName: string, gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, column: import("../main").Column | null): HTMLElement;

@@ -90,2 +91,3 @@ createIconNoSpan(iconName: string, gridOptionsWrapper: import("../gridOptionsWrapper").GridOptionsWrapper, column?: import("../main").Column | null | undefined, forceCreate?: boolean | undefined): HTMLElement | undefined;

callIfPresent(func: Function): void;
noop: () => void;
stopPropagationForAgGrid(event: Event): void;

@@ -159,2 +161,6 @@ isStopPropagationForAgGrid(event: Event): boolean;

stringToArray(strData: string, delimiter?: string): string[][];
getBrowserInfo(): {
name: string;
version: number;
};
isBrowserEdge(): boolean;

@@ -165,2 +171,3 @@ isBrowserSafari(): boolean;

isIOSUserAgent(): boolean;
browserSupportsPreventScroll(): boolean;
getTabIndex(el: HTMLElement | null): string | null;

@@ -197,4 +204,5 @@ getMaxDivHeight(): number;

getAriaDescribedBy(element: HTMLElement): string;
setAriaLabel(element: HTMLElement, label: string): void;
setAriaLabel(element: HTMLElement, label?: string | undefined): void;
setAriaLabelledBy(element: HTMLElement, labelledBy: string): void;
setAriaDescription(element: HTMLElement, description?: string | undefined): void;
setAriaDescribedBy(element: HTMLElement, describedby: string | undefined): void;

@@ -221,3 +229,3 @@ setAriaLevel(element: HTMLElement, level: number): void;

message(msg: string): void;
bindCellRendererToHtmlElement(cellRendererPromise: import("./promise").AgPromise<import("../main").ICellRendererComp>, eTarget: HTMLElement): void;
bindCellRendererToHtmlElement(cellRendererPromise: import("./promise").AgPromise<import("../main").ICellRendererComp<any>>, eTarget: HTMLElement): void;
};

@@ -22,2 +22,3 @@ import { RowNode } from "../entities/rowNode";

setValue(rowNode: RowNode, colKey: string | Column, newValue: any, eventSource?: string): boolean;
private callColumnCellValueChangedHandler;
private setValueUsingField;

@@ -24,0 +25,0 @@ private executeFilterValueGetter;

@@ -9,2 +9,3 @@ import { AgInputTextField, ITextInputField } from "./agInputTextField";

postConstruct(): void;
private onWheel;
normalizeValue(value: string): string;

@@ -11,0 +12,0 @@ private adjustPrecision;

@@ -9,11 +9,2 @@ import { AgEvent } from "../events";

}
export declare class CssClassManager {
private getGui;
private cssClassStates;
constructor(getGui: () => HTMLElement);
addCssClass(className: string): void;
removeCssClass(className: string): void;
containsCssClass(className: string): boolean;
addOrRemoveCssClass(className: string, addOrRemove: boolean): void;
}
export declare class Component extends BeanStub {

@@ -20,0 +11,0 @@ static elementGettingCreated: any;

@@ -34,2 +34,3 @@ import { Component } from './component';

getComponentAt(rowIndex: number): Component | undefined;
forEachRenderedRow(func: (comp: Component, idx: number) => void): void;
private static getTemplate;

@@ -36,0 +37,0 @@ private getItemHeight;

@@ -1,5 +0,5 @@

// Type definitions for ag-grid-community v27.2.1
// Project: http://www.ag-grid.com/
// Type definitions for ag-grid-community v27.3.0-beta.0
// Project: https://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
export * from "./dist/lib/main";
export * from "./dist/lib/main";
{
"name": "ag-grid-community",
"version": "27.2.1",
"version": "27.3.0-beta.0",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
"main": "./dist/ag-grid-community.cjs.js",
"module": "./dist/ag-grid-community.auto.esm.js",
"scripts": {
"clean": "rimraf dist main.d.ts src/styles .hash",
"build": "npx gulp build && npm run rollup && npm run hash",
"build-prod": "npm run build",
"package": "npx gulp package",

@@ -52,10 +54,11 @@ "rollup": "mkdir -p dist && node build.js",

],
"homepage": "http://www.ag-grid.com/",
"homepage": "https://www.ag-grid.com/",
"dependencies": {},
"devDependencies": {
"@ag-grid-community/all-modules": "~27.2.0",
"@ag-grid-community/core": "~27.2.0",
"@ag-grid-community/client-side-row-model": "~27.2.0",
"@ag-grid-community/csv-export": "~27.2.0",
"@ag-grid-community/infinite-row-model": "~27.2.0",
"@ag-grid-community/all-modules": "~27.3.0",
"@ag-grid-community/core": "27.3.0-beta.0",
"@ag-grid-community/client-side-row-model": "27.3.0-beta.0",
"@ag-grid-community/csv-export": "~27.3.0",
"@ag-grid-community/infinite-row-model": "~27.3.0",
"@ag-grid-community/styles": "27.3.0-beta.0",
"@types/node": "12.20.20",

@@ -62,0 +65,0 @@ "gulp": "4.0.2",

@@ -1,2 +0,2 @@

![alt text](./github-banner.png "AG Grid")
![AG Grid HTML5 Grid trusted by the community, built for enterprise](./github-banner.png "AG Grid")

@@ -13,7 +13,7 @@ [![CDNJS](https://img.shields.io/cdnjs/v/ag-grid)](https://cdnjs.com/libraries/ag-grid) [![Github Stars](https://img.shields.io/github/stars/ag-grid/ag-grid?style=social)](https://github.com/ag-grid/ag-grid) [![Twitter](https://img.shields.io/twitter/follow/ag_grid?style=social)](https://twitter.com/ag_grid)

AG Grid is a fully-featured and highly customizable JavaScript data grid.
It delivers [outstanding performance](https://www.ag-grid.com/example.php?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github), has no third-party dependencies and [integrates smoothly with all major JavaScript frameworks](https://www.ag-grid.com/javascript-grid/getting-started/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github).
It delivers [outstanding performance](https://www.ag-grid.com/example?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github), has no third-party dependencies and [integrates smoothly with all major JavaScript frameworks](https://www.ag-grid.com/javascript-data-grid/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github).
Here's how our grid looks with multiple filters and grouping enabled:
![alt text](./github-grid-demo.jpg "AG Grid Demo")
![Image of AG Grid showing filtering and grouping enabled.](./github-grid-demo.jpg "AG Grid demo")

@@ -32,2 +32,3 @@ ## Features

* Grouping / Aggregation *
* Accessibility support
* Custom Filtering

@@ -41,3 +42,2 @@ * In-place Cell Editing

* Customizable Cell Contents
* Excel-like Pivoting *
* State Persistence

@@ -47,2 +47,3 @@ * Keyboard Navigation

* Data Export to Excel *
* Excel-like Pivoting *
* Row Reordering

@@ -53,4 +54,6 @@ * Copy / Paste

* Full Width Rows
* Integrated Charting
* Sparklines
\* The features marked with an asterisk are available in the [Enterprise version](https://www.ag-grid.com/license-pricing.php?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) only.
\* The features marked with an asterisk are available in the [Enterprise version](https://www.ag-grid.com/license-pricing?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) only.

@@ -61,5 +64,5 @@ Check out the [developer documentation](https://www.ag-grid.com/documentation/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) for a complete list of features or visit [our official docs](https://www.ag-grid.com/features-overview/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github) for tutorials and feature demos.

* [Get Started with Angular](https://www.ag-grid.com/angular-grid/getting-started/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github)
* [Get Started with React](https://www.ag-grid.com/react-grid/getting-started/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github)
* [Get Started with Vue](https://www.ag-grid.com/vue-grid/getting-started/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github)
* [Get Started with Angular](https://www.ag-grid.com/angular-data-grid/getting-started/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github)
* [Get Started with React](https://www.ag-grid.com/react-data-grid/getting-started/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github)
* [Get Started with Vue](https://www.ag-grid.com/vue-data-grid/getting-started/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github)

@@ -113,7 +116,7 @@ ## Getting started

For more information on how to integrate the grid into your project see [TypeScript - Building with Webpack 2](https://www.ag-grid.com/javascript-grid/building-typescript/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github).
For more information on how to integrate the grid into your project see [Building AG Grid Applications](https://www.ag-grid.com/javascript-data-grid/building/?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github).
## Issue Reporting
If you have found a bug, please report it in this repository's [issues](https://github.com/ag-grid/ag-grid/issues) section. If you're using the Enterprise version, please use the private ticketing system to do that. For more information on support please see our [dedicated support page](https://www.ag-grid.com/support.php?utm_source=ag-grid-readme&utm_medium=repository&utm_campaign=github).
If you have found a bug, please report it in this repository's [issues](https://github.com/ag-grid/ag-grid/issues) section. If you're using the Enterprise version, please use the [private ticketing](https://ag-grid.zendesk.com/) system to do that.

@@ -120,0 +123,0 @@ ## Asking Questions

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc