UNPKG

ag-grid-community

Version:

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

27 lines (26 loc) 1.03 kB
import { RowNode } from "../../entities/rowNode"; import { GridOptionsWrapper } from "../../gridOptionsWrapper"; import { StylingService } from "../../styling/stylingService"; export interface RowCssClassCalculatorParams { rowNode: RowNode; rowIsEven: boolean; rowLevel: number; fullWidthRow?: boolean; firstRowOnPage: boolean; lastRowOnPage: boolean; printLayout: boolean; expandable: boolean; pinned?: string | null; extraCssClass?: string; rowFocused?: boolean; fadeRowIn?: boolean; } export declare class RowCssClassCalculator { stylingService: StylingService; gridOptionsWrapper: GridOptionsWrapper; getInitialRowClasses(params: RowCssClassCalculatorParams): string[]; processClassesFromGridOptions(rowNode: RowNode): string[]; private preProcessRowClassRules; processRowClassRules(rowNode: RowNode, onApplicableClass: (className: string) => void, onNotApplicableClass?: (className: string) => void): void; calculateRowLevel(rowNode: RowNode): number; }