ag-grid-enterprise
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
35 lines (34 loc) • 1.2 kB
TypeScript
import type { BeanCollection, CellCtrl, ICellComp, ICellRangeFeature } from 'ag-grid-community';
export declare class CellRangeFeature implements ICellRangeFeature {
private readonly beans;
private readonly cellCtrl;
private readonly rangeSvc;
private cellComp;
private eGui;
private rangeCount;
private hasChartRange;
private rangeColorClass;
private handleColorClass;
private selectionHandle;
private refreshScheduled;
constructor(beans: BeanCollection, cellCtrl: CellCtrl);
setComp(cellComp: ICellComp): void;
unsetComp(): void;
onCellSelectionChanged(): void;
private updateRangeBorders;
private isSingleCell;
private getHasChartRange;
/** A cell's side borders depend on its displayed neighbours. */
onDisplayedColumnsChanged(): void;
private getRangeBorders;
private refreshRangeStyleAndHandle;
reattachHandle(eParent: HTMLElement): void;
scheduleRefreshRangeStyleAndHandle(): void;
private styleCellForRangeType;
private applyRangeColor;
private getRangeColorClass;
private refreshHandleColor;
private getRangeForHandle;
private addSelectionHandle;
destroy(): void;
}