Apama 10.15.0 | Building and Using Apama Dashboards | Building Dashboard Clients | Reusing Dashboard Components | Using Object Grids | Recreating the Object Grid sample
 
Recreating the Object Grid sample
The Dashboard Builder tutorial includes an example of the Object Grid, which you can view by double-clicking Object Grid on the tutorial main page. This displays the file tutorial-object-grid.rtv.
Example of the object grid
*To recreate this sample, create a new dashboard and perform the following steps
1. Add an Object Grid to the dashboard and attach its valueTable property to the tutorial DataView as follows.
Illustration of the Attach to Apama dialog for valueTable
The grid object will update and display as follows:
Example of the updated grid object
Unless you have separately created or deleted instances of the tutorial DataView, the grid will display three instances of the object. The objects do not show any values from the tutorial DataView because none of their properties have been bound to it in the Icon Properties dialog.
2. Select the grid object and double-click the iconProperties property to display the Icon Properties dialog. In the dialog select obj_label14 as the Icon Class Name.
Illustration of the Icon Class Name drop-down list box
3. In the Icon Properties dialog click in the Map column of the value property and select the type Column. Click in the Property Value column and select Price.
Illustration showing how to select the Price value
This sets the value property of each instance of the object to the value of the Price variable in the corresponding instance of the tutorial DataView.
4. Similarly for the label property, set the Map column to Column and select Instrument as the value.
Illustration showing how to select the Instrument value
The dashboard should now appear similar to the Object Grid tutorial.