I have a table with several columns, I want to change the row text color based on the colums text.
Code:
<column id="Priority" name="Priority" > <title tooltip="Click to filter or sort by priority">Priority</title> <action/> <menu> <GroupRef GroupId="PriorityColumnFilterMainGroup"/> <GroupRef GroupId="PriorityFilterGroup"/> <GroupRef GroupId="PrioritySortGroup"/> </menu> <content> <span style="overflow: hidden; border: 1px solid; text-overflow: ellipsis; width: 100%; height: 100%; padding-left: 2px; padding-top: 1px;"/> </content> <bindings> <in fields="Priority" xforms="xfPriorityString" properties="innerText;title" /> <in fields="Deleted" properties="style.textDecoration" xforms="xfDeleted"/> <in fields="Selected" properties="id" xforms="xfSelection"/> </bindings> </column>