Its really simple, all you have to do is register the enter and modified event before calling the method set_table_for_first_display( ).
or without registing those events just do this: CALL METHOD go_grid->check_changed_data
code:
CALL METHOD go_grid->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_modified
EXCEPTIONS
error = 1
OTHERS = 2.
CALL METHOD go_grid->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_enter
EXCEPTIONS
error = 1
OTHERS = 2.
p.s.: To refresh the ALV OO go_grid->refresh_table_display
Subscrever:
Enviar feedback (Atom)
Sem comentários:
Enviar um comentário