AdaptableStyle

View as Markdown

Colours, font and border for a cell, header or highlight.

Text properties (ForeColor, FontWeight, FontStyle, TextDecoration, FontSize, Alignment) and box properties (BackColor, BorderColor, BorderRadius) are applied together. ClassName adds a CSS class and does not turn the other properties off. A Styled Column can take just the text slice (Font) or just the box slice (Cell).

TypeScript
export interface AdaptableStyle extends CellFontStyle,
Extends

CellFontStyle, CellBoxStyle

Properties

PropertyTypeDescription
ClassNamestringCSS class added to the cell. Colour, font and border properties on this object are still applied.

Property Details

ClassName

CSS class added to the cell. Colour, font and border properties on this object are still applied.

TypeScript
ClassName?: string;
Property Value

string