Setting row colors
This section explains how to set the colors of individual rows in a table. The colors are based on the value of one of the selection fields (see Selection fields) in the table.
You can set row text colors in list view, tree view, and cell-based tables.
You can set row background colors in list view and cell-based tables.
For example, you might make the background of all New requests red and the background of all Assigned requests green, as shown in the following figure.
Example of row background color in a list view table
(Click the image to expand it.)
Or, as shown in the following figure, you might set the text of engine parts whose status is "Backordered" in red to alert the assembly manager.
Example of row text color in a list view table
(Click the image to expand it.)
Using color in tree view tables
For tree view table fields, only the text of leaf nodes can be colored. If the visible leaf nodes are actually parent nodes associated with multiple child request nodes, the color of a parent leaf nodes is based on the first hidden child request under that parent.
For example, the color selection in the following figure is linked to the Priority values in level 6: Urgent (red), High (orange), Medium (blue), and Low (green). In the first and second trees, the leaf nodes represent individual requests and their colors are meaningful. But in the third table, the "leaf" nodes can represent multiple requests with different priorities; so, the priority of the first request under each leaf controls the color of the leaf.
Colored nodes in tree views
(Click the image to expand it.)
To set row text and background colors
- In BMC Remedy Developer Studio, select the appropriate table field.
- In the Properties tab, select the Results Color property, and click its ellipsis button.
- In the Results Color dialog box, click the ellipsis button to the right of the Selection Field field.
- In the Available Fields list of the Field Selector dialog box, double-click the name of the selection field whose value will determine the row color.
A list of all the field's selection values appears in the Results Color dialog box. - Specify the text color for one or more selection values:
- Click the Color cell of the value, and select Custom from the drop-down list.
- Select a color from the color palette, and click OK.
The selected color is displayed in the color cell.
- (List view, cell-based only) Specify the background color for one or more selection values:
- Click the value's Background cell, and select Custom from the drop-down list.
- Select a color from the color palette, and click OK.
The selected color is displayed in the Background cell.
- When you finish setting results colors for the selection field, click OK.
- Right-click the form, and select Save.