The global context object
In filter attribute, a global context object is available.
call
Access ServerSideFunctions (SSF) with a call to context.call
method. Use parameters and response to modify initial filter state, or from whithin a filter button press. A call to a SSF can fetch filter configuration, read controller variables, read state from .json
files, or make server side fetch calls. See SSF docs for details.
Date functions
setFromDate
Set the Arrigo from
timestamp internal variable. Used when controlling view fetch range.
setToDate
Set the Arrigo to
timestamp internal variable. Used when controlling view fetch range.
getNow
Get the current Arrigo now
date object.
parameters
dateTime
A Javascript Date
object.
offset
A String. The string contains of an optional -, a number of digits 23, followed by a space, and finally the range indicator (any of min h d w m y)
Indicator | Description |
---|---|
min | Minutes |
h | Hours |
d | Days |
w | Weeks |
m | Months |
y | Years |