Examples
iconProperties
Objective: Create an
object grid table using multiple icon objects
In this example, the object grid table will contain two icon objects. One icon
object will display two columns of data from the data
source, the Units Completed column and Plant name column. The other icon object will display data from the On Schedule
column. The object grid table will look like this:
The data
attachment for this exercise contains the following:
Plant |
Units Completed |
On Schedule |
San Francisco |
95 |
true |
San Jose |
51 |
false |
Dallas |
66 |
true |
Chicago |
55 |
false |
New York |
64 |
true |
Detroit |
7 |
true |
To create the object grid table:
1. Attach
an object
grid table to the
valueTable property.
2. D ouble-click on
iconProperties (category: Icon). In the Icon
Properties dialog:
value -
Select Column from the Map drop down menu. Select Units Completed from the
Property Value drop down menu. label - Select
Column from the Map drop down menu. Select Plant from the Property Value drop
down menu. Click OK.
We get the following
results.
Notice that information from the
On Schedule column is not
displayed. We have not mapped it to an icon object. Also, notice that the
numeric values have changed. This is because we are attaching to live data.
3. To add
another icon object, double click on iconProperties (category: Icon).
4. In the Icon Properties dialog:
Check the
Allow multiple icon types
box and click Add Icon.
Select an icon object from the
Icon Class Name drop down menu
(in this example, obj_indstatus_light) and click
OK. The icon object appears in the list of available icon objects
for this object grid table.
With the icon object you just added
selected in the list of available icon objects, edit the following properties:
label - Select Column from the Map drop down menu.
Select On Schedule from the Property Value drop down menu.
status - Select Column from the Map drop down menu.
Select On Schedule from the Property Value drop down menu.
Click OK.
We get the following
results.
The display now shows three columns of data: the Plant and Units Completed
columns are shown in the first icon object and the On Schedule column is
shown in the second icon object.
|