UNPKG

ag-grid-community

Version:

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

32 lines (31 loc) • 1.34 kB
import type { NamedBean } from '../../context/bean'; import { BeanStub } from '../../context/beanStub'; import type { RowNode } from '../../entities/rowNode'; import type { CellPosition } from '../../interfaces/iCellPosition'; import type { VerticalSection } from '../../interfaces/iGridSection'; import type { CellCtrl } from '../cell/cellCtrl'; import type { RowCtrl } from '../row/rowCtrl'; type SpannedRowContainerType = VerticalSection | 'center'; export declare class SpannedRowRenderer extends BeanStub<'spannedRowsUpdated'> implements NamedBean { beanName: "spannedRowRenderer"; postConstruct(): void; private topCtrls; private bottomCtrls; private centerCtrls; private createAllCtrls; /** * When displayed rows or cols change, the spanned cell ctrls need to update */ createCtrls(ctrlsKey: SpannedRowContainerType): void; private getAllRelevantRowControls; getCellByPosition(cellPosition: CellPosition): CellCtrl | undefined; /** Refreshes the rows rendering the spans `node` starts, which the row renderer does not hold. */ refreshRowsOf(node: RowNode): void; getCtrls(container: SpannedRowContainerType): RowCtrl[]; pushAllCtrls(res: RowCtrl[]): void; private destroyRowCtrls; private getCtrlsMap; private setCtrlsMap; destroy(): void; } export {};