473,406 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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.

Expand|Select|Wrap|Line Numbers
  1. <column id="Priority" name="Priority" >
  2.                     <title tooltip="Click to filter or sort by priority">Priority</title> 
  3.                     <action/> 
  4.                     <menu>
  5.                         <GroupRef GroupId="PriorityColumnFilterMainGroup"/>
  6.                         <GroupRef GroupId="PriorityFilterGroup"/>
  7.                         <GroupRef GroupId="PrioritySortGroup"/>
  8.                     </menu>
  9.                      <content> 
  10.  
  11.  
  12. &lt;span style="overflow: hidden; 
  13.  
  14. border: 1px  solid;  text-overflow: ellipsis; width: 100%; height: 100%; padding-left: 2px; padding-top: 1px;"/&gt;
  15.  
  16. </content>
  17.  
  18.                     <bindings>
  19.                         <in fields="Priority" xforms="xfPriorityString" properties="innerText;title" />
  20.                         <in fields="Deleted" properties="style.textDecoration" xforms="xfDeleted"/>
  21.                         <in fields="Selected" properties="id" xforms="xfSelection"/>
  22.                     </bindings>
  23.                 </column>
  24.  
Attached Images
File Type: jpg table.jpg (55.2 KB, 90 views)
Apr 23 '12 #1
0 1690

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mauro Baraldi | last post by:
Hello, Someone can post some example of how to change the color of text on the TextBox. I try to use the method bind to capture a event like <b> key press, but I don' found a method to change...
31
by: Chris Stanley | last post by:
I am using dreamweaver to make an ASP page. I have a table of data from a MSSQL database that is currently showing on the ASP page. I want the ability to change the color based on a priority...
3
by: Vic | last post by:
Hi all, I am trying to set different background color based on text box value on a form. Basically, I have one form that display many lines of records(record source is a query), in each of the...
2
by: ASP Yaboh | last post by:
I have a Repeater control bound to a DataSet that creates a table with 6 columns. The text displayed in one of the columns may need to be set to grey instead of black. The DataSet is held and...
3
by: pradeepsarathy | last post by:
Hi All, Recently went through the site www.google.com/adsense Was really surprised to see how the color of the text fileds and button on the right frame ,which is used for login ,changed from...
5
by: DavidB | last post by:
Greetings I don't know if this is possible, but this group should be able to tell me. I have a webpage with a changing message board (I understand the problems with having changing text, but...
11
by: menmysql | last post by:
hi to all when ever i am setting the text field propery as disabled the color of the text is not that much clear to read. thats why i am requesting you people how can i chang color of...
2
by: yasathyaforever | last post by:
Hi everyone, I need help in changing the color of the text in my VB program that i have given as a name for the command button. Plz help... regards sathya
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.