UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

28 lines (27 loc) 1.04 kB
import { BeanStub } from '../context/beanStub'; import type { AgColumn } from '../entities/agColumn'; import type { HeaderCellCtrl } from '../headerRendering/cells/column/headerCellCtrl'; export declare class SelectAllFeature extends BeanStub { private readonly column; private cbSelectAllVisible; private processingEventFromCheckbox; private headerCellCtrl; private cbSelectAll; constructor(column: AgColumn); onSpaceKeyDown(e: KeyboardEvent): void; getCheckboxGui(): HTMLElement; setComp(ctrl: HeaderCellCtrl): void; private onDisplayedColumnsChanged; private showOrHideSelectAll; private updateStateOfCheckbox; private refreshSelectAllLabel; private checkSelectionType; private checkRightRowModelType; private onCbSelectAll; /** * Checkbox is enabled when either the `headerCheckbox` option is enabled in the new selection API * or `headerCheckboxSelection` is enabled in the legacy API. */ private isCheckboxSelection; private getSelectAllMode; }