@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
8 lines (7 loc) • 801 B
TypeScript
import { ISeparators } from "@gooddata/numberjs";
import { IMappingHeader } from "../interfaces/MappingHeader";
import { ITableCellStyle, ITableCellStyleAndFormattedValue, MeasureCell, TableCell } from "../interfaces/Table";
export declare function getCellClassNames(rowIndex: number, columnIndex: number, isDrillable: boolean): string;
export declare function getMeasureCellFormattedValue(cellContent: MeasureCell, format: string, separators: ISeparators): string;
export declare function getMeasureCellStyle(cellContent: MeasureCell, format: string, separators: ISeparators, applyColor: boolean): ITableCellStyle;
export declare function getCellStyleAndFormattedValue(header: IMappingHeader, cellContent: TableCell, applyColor?: boolean, separators?: ISeparators): ITableCellStyleAndFormattedValue;