Skip to main content

PivotItemFormatRule Class

Declaration

export class PivotItemFormatRule extends CellsItemFormatRule

constructor

Initializes a new instance of the PivotItemFormatRule class.

Declaration

constructor(
    modelJson?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
modelJson any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

applyToColumn Property

Declaration

applyToColumn: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

intersectionLevelMode Property

Specifies the level on which to apply conditional formatting to pivot cells.

Declaration

intersectionLevelMode: ko.Observable<DevExpress.Dashboard.Model.FormatConditionIntersectionLevelMode>

Property Value

Type Description
Observable<FormatConditionIntersectionLevelMode>

A FormatConditionIntersectionLevelMode object used to set the intersection level mode.

level Property

Declaration

level: DevExpress.Dashboard.Model.PivotItemFormatRuleLevel

Property Value

Type
PivotItemFormatRuleLevel

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.