PutWorksheetFormatCondition
Contents
[
Hide
]
PutWorksheetFormatCondition
Add a format condition in the worksheet.
REST API
API | HttpMethod | Description | API reference |
---|---|---|---|
/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index} | PUT | Add a format condition in the worksheet. | PutWorksheetFormatCondition |
Path Parameter
Parameter Name | Type | Description |
---|---|---|
name | string | The file name. |
sheetName | string | The worksheet name. |
index | integer | Gets the Conditional Formatting element at the specified index. |
Query Parameter
Parameter Name | Type | Description |
---|---|---|
cellArea | string | Adds a conditional formatted cell range. |
type | string | Format condition type(CellValue/Expression/ColorScale/DataBar/IconSet/Top10/UniqueValues/DuplicateValues/ContainsText/NotContainsText/BeginsWith/EndsWith/ContainsBlanks/NotContainsBlanks/ContainsErrors/NotContainsErrors/TimePeriod/AboveAverage). |
operatorType | string | Represents the operator type of conditional format and data validation(Between/Equal/GreaterThan/GreaterOrEqual/LessThan/None/NotBetween/NotEqual). |
formula1 | string | The value or expression associated with conditional formatting. |
formula2 | string | The value or expression associated with conditional formatting. |
folder | string | The folder where the file is situated. |
storageName | string | The storage name where the file is situated. |