Item click
Triggering event – Abstract
The triggering event passes the data, which is hidden behind the entry, to the behaviour as input data.
►NOTE◄ The behaviour may differ for chart components (dashboard). Charts and OLAP Grids return a data provider that provides all raw data of the aggregated value.
Example: Data grid
A data grid, which is filled with user tuples consisting of id, name1 and name2, should display the clicked user in a Hinweisbox when clicking on a row.
With the help of a Berechnungsausdrucks, the ID, name1 and name2 are output as text in the alert box.
Result:
Example: Map
The Triggering event 'Item click' (as well as 'Item double click') provides information about the selected country for the dashboard element 'Map'.
In the example above, the Triggering event (1) is selected as 'Item click'. The behaviour is statically true, the Action type 'Show alert' is used as an example (2). The Triggering event 'Item click' passes on the data structure below (only a sample is shown). From this, two values are displayed with '$get' (intvalue (3) and 'localizedName' (4)). In the notification (5) the results can be seen when clicking on the shown country (6).
Country {
alpha3Code:
"UZB"
numericCode:
"860"
intValue: 238
bundleName:
"de.lobster.scm.localization.Country"
defaultLabel:
"Uz"
label:
"Usbekistan"
resourceName:
"UZ"
localizedName:
"Usbekistan"
stringValue:
"UZ"
}