Options
All
  • Public
  • Public/Protected
  • All
Menu

The ConditionalStyle object used in the Conditional Style function.

Note: the Rule should be either a Predicate or an Expression but not both.

Predicates are preferred and used in most scenarios but Expressions are available for more complicated use cases.

Hierarchy

Index

Properties

Optional ExcludeGroupedRows

ExcludeGroupedRows: boolean

Whether to show the Style for Grouped Rows (where Scope is 'All')

deprecated

false

Optional Expression

Expression: string

The Expression string itself - which will be evaluated using the Adaptable parser

Optional Predicate

The Predicate-based Rule to use for deciding if a style needs to be applied.

Scope

Where the Style is applied - can be for whole Row, some Columns or all Colunns of given DataType

Optional SharedQueryId

SharedQueryId: TypeUuid

Reference to the Uuid property of existing Shared Query in Query State

Style

The Adaptable Style (e.g. font properties and colurs) to apply.

Optional Uuid

Uuid: TypeUuid

A unique identifier for the Adaptable Object

Generated and used internally by AdapTable to compare State objects

Do not provide this property when defining an AdaptableObject in Predefined Config as AdapTable will do it automatically when the application loads.

Generated using TypeDoc