Adding images to tables
This section explains how to perform these tasks:
- Add images to list view and tree view tables (see To add an image to a list view or tree view table).
- Add an image to the root node of a tree view table (see To add an image to the root node of a tree view table).
To add an image to a list view or tree view table
- In BMC Remedy Developer Studio, open the form that contains the table.
- In the table, select the column field in which you want the images to appear.
- In the Properties tab, select the Column Images property, and click its ellipsis button.
The Column Images dialog box appears. - In the Selection Field field, enter the name of the selection field (drop-down list, radio button, or check box) whose values will determine which images appear in the column selected in step 2.
You can enter the name by typing it, by pasting it, or by using the ellipsis button next to the field to display the Field Selector dialog box.
When you select a field, the field's selection values automatically appear in the dialog box table. - In the table, select the Image cell of a value with which you want to associate an image, and click its ellipsis button.
Images can be associated with the NULL value. - In the Image dialog box, click Select.
- In the Object Selector dialog box, select the appropriate image, and click OK.
- (Optional) In the corresponding Alternative Text cell, enter a description of the image to improve usability for vision-impaired users.
- Repeat step 5 through step 8 for each value that you want to associate an image with.
- Click OK.
- (Tree view tables only) If any levels of the hierarchy contain only images, no text:
- Select the table.
- On the Properties tab, enter a space in the Value column of the Display NULL Value As property.
Otherwise, the text [No Value] appears next to the images at runtime.
- To control the sort order of the following types of levels or columns, insert a hidden sort level or column before such levels or columns:
- Image-only levels or columns (see the flag level in the following figure)
- Levels or columns in which images are the only differentiators (see the "Emily" nodes in the following figure)
See Arranging-nodes-in-tree-view-tables.
(Tree view tables only) If you do not use a hidden sort level in these situations, only the image in the first request in that level appears. For example, see the following figure.
Effect of not using hidden sort levels to sort images in tree view tables
(Click the image to expand it.)
To add an image to the root node of a tree view table
- In BMC Remedy Developer Studio, open the form that contains the tree view table.
- Select the tree view table.
In the Properties tab, enter a label in the Label property's value cell.
This label appears in the tree view table's root node. For example, in the above figure, "Bug Fix Priority" is the label of the root node.- In the Properties tab, select the Root Node Image value, and click its ellipsis button.
- In the Root Node Image dialog box, click Select.
- In the Object Selector dialog box, select the appropriate image, and click OK.
- Click OK.
(Optional) In the Properties tab, enter the appropriate text in the Alternative Text property's value cell.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*