Apama 10.7.2 | 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.
*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.
The grid object will update and display as follows:
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.
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.
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.
The dashboard should now appear similar to the Object Grid tutorial.