highlighted(name)

Add Conditional Format (Highlight) for basic information on highlights.

Identifies whether a highlight with the specified name has been applied to the Table (i.e., whether the highlight condition has been satisfied.) You can use this to alert the user that a highlight has been triggered.

Parameter

name

name of the highlight

Example

if(Table1.highlighted.lowSales) {
  alert('lowSales highlight was applied')
}

Either syntax below can be used in component script:

highlighted                 // unqualified
TableView1.highlighted      // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.