change the row text color based on column text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asifuddin64
    New Member
    • Apr 2012
    • 1

    change the row text color based on column text

    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> 
    
    
    &lt;span style="overflow: hidden; 
    
    border: 1px  solid;  text-overflow: ellipsis; width: 100%; height: 100%; padding-left: 2px; padding-top: 1px;"/&gt;
    
    </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>
    Attached Files
Working...