How to update the background color of a cell in an editable ALV Grid ? I have defined a cell background color in the color table of each line and that color is displaying correctly. Now I would like to update the color of a cell during the handling of event data_changed (turn the cell from red to green if the changed data is valid). However the background color is not changing.
I have tried these 3 solutions in the method that handles the event data_changed:
- Call method er_data_changed->modify_cell( ) and passing it the modified color table.
- Directly changing the internal table passed to the ALV Grid.
- Changing the color table on the appropriate row in er_data_changed->mp_mod_rows->*
None of it worked.
There is a method er_data_changed->modify_style but no method er_data_changed->modify_color.
Thank you.