Home > WebEOC > Admin Guide > Board Building Tips > Highlight Cells with a WebEOC List Color

Highlight Cells with a WebEOC List Color

Table of contents
No headers

To highlight entire cells with a WebEOC list color, first remove the bgColor attribute from the <td> tag, if one exists. Following this, add code as follows.

Note: In this example the <eocfield name> is status and the WebEOC list is named status list.

<attribute name="bgColor">
<if test="@status and @status != ''">#
<value-of select="/data/listitems[@listname='status list' and @name=current()/@status]/@listvalue">
</value-of>
</if>
</attribute>
<eocfield name="status"></eocfield>
You must to post a comment.
Last modified

Tags

Classifications

This page has no classifications.