ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
22 lines (21 loc) • 1.38 kB
TypeScript
import type { BeanCollection } from '../context/context';
import type { SelectAllMode } from '../entities/gridOptions';
import type { SelectionEventSourceType } from '../events';
import type { IRowNode } from '../interfaces/iRowNode';
export declare function setNodesSelected(beans: BeanCollection, params: {
nodes: IRowNode[];
newValue: boolean;
source?: SelectionEventSourceType;
}): void;
export declare function selectAll(beans: BeanCollection, selectAll?: SelectAllMode, source?: SelectionEventSourceType): void;
export declare function deselectAll(beans: BeanCollection, selectAll?: SelectAllMode, source?: SelectionEventSourceType): void;
/** @deprecated v33 */
export declare function selectAllFiltered(beans: BeanCollection, source?: SelectionEventSourceType): void;
/** @deprecated v33 */
export declare function deselectAllFiltered(beans: BeanCollection, source?: SelectionEventSourceType): void;
/** @deprecated v33 */
export declare function selectAllOnCurrentPage(beans: BeanCollection, source?: SelectionEventSourceType): void;
/** @deprecated v33 */
export declare function deselectAllOnCurrentPage(beans: BeanCollection, source?: SelectionEventSourceType): void;
export declare function getSelectedNodes<TData = any>(beans: BeanCollection): IRowNode<TData>[];
export declare function getSelectedRows<TData = any>(beans: BeanCollection): TData[];