ConditionalFormattingTarget
Home > @gooddata/sdk-ui-pivot > ConditionalFormattingTarget
ConditionalFormattingTarget type
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Identifies the measure or attribute a conditional-formatting rule targets. Layout-neutral on purpose: the same target applies whether the item renders as a column or — when transposed — as a row, so the rule survives a transpose without re-pointing.
Signature:
export type ConditionalFormattingTarget = {
kind: "attribute";
attributeIdentifier: string;
} | {
kind: "measure";
measureIdentifier: string;
};