04-02-2009 7:52 AM
Hello all,
We have a designed an editable ALV(OOPS). We can change the color of the editable cell based on condition but not as soon as the user press ENTER. How can we achieve this???
Thanx in advance,
Regards,
Vishu.
04-02-2009 8:10 AM
Hi!
to respond on enter u can use....
call method r_alv_grid->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_enter.
and then the changes could be made on enter click.
04-02-2009 8:27 AM
Hello Richa,
Thanks for ur response... I have already coded what u have mentioned...
But the problem is as follows.....
First i will edit row 1, then press enter, no effect in color of row 1...
Then i will edit row 2 , again press enter, this will change the color of row 1 now but not row 2.
but we want to change the color of row 1, when we press enter for the first time itself...
how to solve this????