on 02-12-2011 6:55 AM
Hi All,
I am using table control, i am desigining once column with color. I have one button, every time it creats 3 rows, i am getting color for three rows, but i want to restrict color to 1 row, example column contains value like month1 month2 month3, i want color to month1 only, next time when i click button it add 3 rows again, i want color to month1 only. How to restrict this??
Thanks,
Madhan.
Hi Madhan,
add one column to your table definition, for example: CELL_DESIGN. The type is WDUI_TABLE_CELL_DESIGN.
Bind this column to the property 'Celldesign' of the table column, which shows the color.
Then loop over your table and set the value in the field CELL_DESIGN of each row.
Hope it helps!
Thorsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.