cancel
Showing results for 
Search instead for 
Did you mean: 

how make Cell coloring in a normal table

Former Member
0 Kudos

Hi all,

I m facing a problem with cell coloring, i have requirment like i need to fill the cells with different different colors based on some condition.

i got some idea from sdn that we can use cell variants cell editor.. i m trying to put text view inside the variant but i dont have cell design property for cell desing..

what i did is i added one attribute CELL_DESIGN to the existing table node in context type as wdui_table_cell_desing and another VARIANT for variant key with type string.

i created a variant for a particular column and assignd some text as key and inserted textview in that and binded semanticcolor property with attribute CELL_DESIGN and also tried with design property but no result with that..

in the codeing i assiged CELL_DESIGN = 09.

Can an one please give a solution for this..

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kris,

Thank you very much for the quick response.. the given links having the solution like the columns have some value based on that cell value color is getting filled.. that is fine but in my case the columns doesnt contain any values.. the cloumns created design time and there is no binding value to it.

actually the situation is like this there is table with 6 columns 1st column binded with one internal table like rooms and the rest of 5 column binded with one internal table wich is having only one record with 5 coulmns like monday to friday. under each column again i created one cloumn group like timings like 7,8,9 ect again under each one more column group for columns 30 minites devide. but we are not filling any date to those column for timings we are just showing their headings as 7 8 9 ect.

my requirment is for every room i have to fill the timing cells with colors based on availablity.

timings details i have in another internal table like start time 10:30 to 12..

so cells doesnt have any values so how can we fill those with color..

give some idea..

saravanan_narayanan
Active Contributor
0 Kudos

Hello Santhosh,

you can use SET_CELL_DESIGN to set the cell design value instead of BIND_CELL_DESIGN.

BR, Saravanan

Former Member
0 Kudos

Hi

Please check this...

Cheers,

Kris.