cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding cell color in ALV WebDynpro

Former Member
0 Kudos

Hi,

   I have a view with ALV in webdynpro . Based on Some conditions i am changing the cell colors of alv and also row color.

    i have  a second view where we can edit the row details of alv item when we click on a button in alv tool bar.

when i change the details of alv in second view and changed details getting updated in first view but the colors are not getting updated based on the details.

  I have written alv code in WDDOINIT Method.when we modify the line item data getting updated but not color of the cell.

Can you please help me reagrding this.

Thanks,

Lakshmi.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Naga Lakshmi,

for this we have to create one special attribute of type WDUI_TABLE_CELL_DESIGN.

Gowtham
Contributor
0 Kudos

Hi,

Call the color coding method once again after changing the values in the second view(Before calling first view).

- Gowtham

harsha_jalakam
Active Contributor
0 Kudos

Hi Lakshmi,

The data might be getting updated due to the context binding.

Write all the code written for coloring the cells in a seperate method in component controller and call it as earlier in WDDOINIT method. Once you are updating the line item details, call this method again so that even the colors are also updated.

Regards,

Harsha