Skip to main content

PivotItemFormatRule Class

#Declaration

TypeScript
export class PivotItemFormatRule extends CellsItemFormatRule

#constructor

Initializes a new instance of the PivotItemFormatRule class.

#Declaration

TypeScript
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

TypeScript
applyToColumn: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#intersectionLevelMode Property

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

#Declaration

TypeScript
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

TypeScript
level: DevExpress.Dashboard.Model.PivotItemFormatRuleLevel

#Property Value

Type
PivotItemFormatRuleLevel

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.