on 08-29-2008 3:55 PM
Hi forum
Is this possible to change the color of a row in a specific field of a table depends of the value of this field,,, for example if the value is equal or greather than 1.
Thnks
Josué Cruz
Please share your solution, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Answered by my self
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Josue,
Please close the thread or else in case you have update please share it here.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the code given by Chintan in the exit event of the field that you need to check
Eg
if ($.rawValue == "1") then
(Chintan's code comes here)
endif
Regards,
Reema.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Josue,
Yes this is possible if you use the fillColor method. It requires R,G,B value of color.
//Sample code which highlights cell2 in my table which has two rows.
frm1.Table1.Row2.Cell2.fillColor = "120,120,120";
// If you want highlight complete row.
frm1.Table1.Row2.fillColor = "120,120,120";
So now just apply an if loop which reads the input value as greater than 1 and use the code shown above.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.