Skip to Content
0
Former Member
Mar 01, 2008 at 01:55 PM

Two event handler

34 Views

I am using two event handler

CLASS-METHODS:

handle_data_changed_finished

FOR EVENT data_changed_finished OF cl_gui_alv_grid

IMPORTING e_modified

et_good_cells.

CLASS-METHODS: catch_doubleclick

FOR EVENT double_click OF cl_gui_alv_grid

IMPORTING e_column es_row_no sender.

And after I call them like that

SET HANDLER ci_events_grid->handle_data_changed_finished

FOR ci_grid .

CALL METHOD ci_grid->register_edit_event

EXPORTING

i_event_id = cl_gui_alv_grid=>mc_evt_enter.

SET HANDLER ci_events_grid->catch_doubleclick FOR ci_grid.

There is a problem that when the changes finish on grid , it can handels handle_data_changed_finished

truely but when the user double click it couldnt gets true row id .

But when I do not use handle_data_changed_finished method there wasnt problem occurs ,

How can I use two methods together ?