UNPKG

ag-grid-community

Version:

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

16 lines (15 loc) 1.08 kB
import type { BeanCollection } from '../../context/context'; import type { AgColumn } from '../../entities/agColumn'; import type { CellCtrl } from './cellCtrl'; /** * Wires the listeners that keep a cell's width and left position in sync, including col spanning * (which makes width cover many columns). Height is only ever touched for row-spanned cells, and is * applied on attach in _initCellPosition (via legacyApplyRowSpan or _applySpanHeight), not here. */ export declare function _setupCellPosition(beans: BeanCollection, cellCtrl: CellCtrl): void; export declare function _initCellPosition(beans: BeanCollection, cellCtrl: CellCtrl): void; /** Sets a row-spanned cell's rendered height to cover its spanned rows. No-op when not spanning. */ export declare function _applySpanHeight(cellCtrl: CellCtrl): void; export declare function _onCellWidthChanged(cellCtrl: CellCtrl): void; export declare function _getColSpanningList(beans: BeanCollection, cellCtrl: CellCtrl): AgColumn[]; export declare function _onCellLeftChanged(beans: BeanCollection, cellCtrl: CellCtrl): void;