PivotConditionalFormatCollection
Contents
[
Hide
]PivotConditionalFormatCollection class
Represents all conditional formats of pivot table.
class PivotConditionalFormatCollection;
Methods
| Method | Description |
|---|---|
| get(number) | Gets the pivot FormatCondition object at the specific index. |
| add() | Adds a pivot FormatCondition to the collection. |
| add(number, number, PivotConditionFormatScopeType) | Applies the conditional format to range which must in data region. |
get(number)
Gets the pivot FormatCondition object at the specific index.
get(index: number) : PivotConditionalFormat;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | number |
Returns
pivot FormatCondition object.
add()
Adds a pivot FormatCondition to the collection.
add() : number;
Returns
pivot FormatCondition object index.
Remarks
not supported
add(number, number, PivotConditionFormatScopeType)
Applies the conditional format to range which must in data region.
add(row: number, column: number, scope: PivotConditionFormatScopeType) : PivotConditionalFormat;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| row | number | The selected row. |
| column | number | The selected column. |
| scope | PivotConditionFormatScopeType | The scope |
Returns
Returens PivotConditionalFormat.