bindingInfo.isTimeSeries(col)
Returns the state of the specified Date column, designated as time-series or not. Fields can be designated as time-series by bindingInfo.setTimeSeries(col, Boolean) or in the Crosstab Editor.
Parameter
- col
-
Name of field to test for time-series
- Boolean
-
true: Field is set as time-series
false: Field is not set as time-series
Example
alert(Crosstab1.bindingInfo.isTimeSeries("Order:Date"));
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |