ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
23 lines (22 loc) • 1.59 kB
TypeScript
import type { BeanCollection } from '../context/context';
import type { AgEventType } from '../eventTypes';
import type { RowEvent } from '../events';
import type { GridOptionsService } from '../gridOptionsService';
import type { IRowModel } from '../interfaces/iRowModel';
import type { IRowNode } from '../interfaces/iRowNode';
import { RowNode } from './rowNode';
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
export declare function _createGlobalRowEvent<T extends AgEventType>(rowNode: RowNode, gos: GridOptionsService, type: T): RowEvent<T>;
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
export declare const _createRowNodeSibling: (rowNode: RowNode, beans: BeanCollection) => RowNode;
/**
* When dragging multiple rows, we want the user to be able to drag to the prev or next in the group if dragging on one of the selected rows.
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
*/
export declare const _prevOrNextDisplayedRow: (rowModel: IRowModel, direction: -1 | 1, initial: IRowNode | null | undefined) => RowNode | undefined;
/**
* The nearest ancestor of `initial` that is currently displayed, or `initial` itself when it already is.
* Footer, detail and root nodes are never returned: they carry a `rowIndex` but are skipped by the
* client-side row model's depth-first walk, so a range bounded by one would omit its own endpoint.
*/
export declare const _nearestDisplayedRow: (initial: RowNode | null | undefined) => RowNode | null;