Skip to Content
ClassesConditionalFormatIconSetRuleBuilder

Class: ConditionalFormatIconSetRuleBuilder

Extends

  • ConditionalFormatRuleBaseBuilder

Constructors

new ConditionalFormatIconSetRuleBuilder()

new ConditionalFormatIconSetRuleBuilder(initRule?): ConditionalFormatIconSetRuleBuilder

Parameters

ParameterType
initRule?IConditionFormattingRule

Returns

ConditionalFormatIconSetRuleBuilder

Inherited from

ConditionalFormatRuleBaseBuilder.constructor

Methods

build()

build(): IConditionFormattingRule<IConditionalFormattingRuleConfig>

Returns

IConditionFormattingRule<IConditionalFormattingRuleConfig>

Inherited from

ConditionalFormatRuleBaseBuilder.build

copy()

copy(): ConditionalFormatIconSetRuleBuilder

Deep clone a current builder.

Returns

ConditionalFormatIconSetRuleBuilder

Memberof

ConditionalFormatRuleBuilder

Overrides

ConditionalFormatRuleBaseBuilder.copy

createCfId()

createCfId(): string

Create a conditional format ID.

Returns

string

Memberof

ConditionalFormatRuleBuilder

Inherited from

ConditionalFormatRuleBaseBuilder.createCfId

getIconMap()

getIconMap(): Record<string, ...[]>

Get the icon set mapping dictionary

Returns

Record<string, …[]>

Inherited from

ConditionalFormatRuleBaseBuilder.getIconMap

getRanges()

getRanges(): IRange[]

Gets the scope of the current conditional format

Returns

IRange[]

Memberof

ConditionalFormatRuleBuilder

Inherited from

ConditionalFormatRuleBaseBuilder.getRanges

setIconSet()

setIconSet(config): this

Icon Set

Parameters

ParameterTypeDescription
config{ iconConfigs: IIconSet; isShowValue: boolean; }
config.iconConfigsIIconSet
config.isShowValueboolean

Returns

this

Memberof

ConditionalFormatRuleBuilder


setRanges()

setRanges(ranges): this

Sets the scope for conditional formatting

Parameters

ParameterTypeDescription
rangesIRange[]

Returns

this

Memberof

ConditionalFormatRuleBuilder

Inherited from

ConditionalFormatRuleBaseBuilder.setRanges