IConditionalFormattingFormat
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
The visual format applied to a matched cell or row.
export interface IConditionalFormattingFormat
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (ALPHA) (Optional) Fill / background color (raw hex, e.g. “#E54D40”). | ||
string | (ALPHA) (Optional) Text color (raw hex, e.g. “#FFFFFF”). | ||
“cell” | “row” | (ALPHA) Whether the format applies to the matched cell only or the whole row. |
Property details
IConditionalFormattingFormat.backgroundColorpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Fill / background color (raw hex, e.g. “#E54D40”).
backgroundColor?: string;
IConditionalFormattingFormat.colorpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Text color (raw hex, e.g. “#FFFFFF”).
color?: string;
IConditionalFormattingFormat.scopepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Whether the format applies to the matched cell only or the whole row.
scope: "cell" | "row";