UNPKG

ag-grid-community

Version:

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

29 lines (28 loc) • 1.44 kB
import type { BeanStub } from '../../context/beanStub'; import type { BeanCollection } from '../../context/context'; import type { CellFocusedEvent } from '../../events'; import type { CellPosition } from '../../interfaces/iCellPosition'; import type { ICellComp } from '../cell/cellCtrl'; import { CellCtrl } from '../cell/cellCtrl'; import type { RowCtrl } from '../row/rowCtrl'; import type { CellSpan } from './rowSpanCache'; export declare class SpannedCellCtrl extends CellCtrl { private readonly SPANNED_CELL_CSS_CLASS; private eWrapper; readonly cellSpan: CellSpan; constructor(cellSpan: CellSpan, rowCtrl: RowCtrl, beans: BeanCollection); private focusedCellPosition; setComp(comp: ICellComp, eCell: HTMLElement, eWrapper: HTMLElement | undefined, eCellWrapper: HTMLElement | undefined, printLayout: boolean, startEditing: boolean, compBean: BeanStub<'destroyed'> | undefined): void; /** * When cell is spanning, ensure row index is also available on the cell */ refreshAriaRowIndex(): void; /** Sizes the cell over its spanned rows, and tells assistive tech how many it covers. */ private refreshSpan; setFocusedCellPosition(cellPos: CellPosition): void; getFocusedCellPosition(): CellPosition; protected checkCellFocused(): boolean; protected applyStaticCssClasses(): void; onCellFocused(event?: CellFocusedEvent): void; getRootElement(): HTMLElement; }