cancel
Showing results for 
Search instead for 
Did you mean: 

Color in table control restriction?

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

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