Skip to Content
avatar image
Former Member

Color in table control restriction?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 12, 2011 at 10:54 AM

    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

    Add comment
    10|10000 characters needed characters exceeded