2008 Nov 24 3:58 PM
Hi
I've editable ALV grid with two columns displayed in a popup. First consist of descriptions, second of dropdowns. Each dropdown has different value. My logic is working: dropdowns are filled with proper values. The problem is how to get selected values. When I'm using this code
CALL METHOD gr_veh_opt_grid->register_edit_event
EXPORTING:
i_event_id = cl_gui_alv_grid=>mc_evt_enter.
for setting ENTER as a event when value should be transferred then this is not user-friendly that after selecting dropdown he need to press enter.
When I'm using this:
CALL METHOD gr_veh_opt_grid->register_edit_event
EXPORTING:
i_event_id = cl_gui_alv_grid=>mc_evt_modified.
The problem is in situation when user selects all values end then press OK button with mouse. Then last changed value is not registered by data_changed event.
Can anyone help me how to solve this problem?
Is is possible to force ALV to call data_changed event somehow or read dropdown values not using data_changed event?
Best regards, Tomek
Hi
I've editable ALV grid with two columns displayed in a popup. First consist of descriptions, second of dropdowns. Each dropdown has different value. My logic is working: dropdowns are filled with proper values. The problem is how to get selected values. When I'm using this code
CALL METHOD gr_veh_opt_grid->register_edit_event
EXPORTING:
i_event_id = cl_gui_alv_grid=>mc_evt_enter.
for setting ENTER as a event when value should be transferred then this is not user-friendly that after selecting dropdown he need to press enter.
When I'm using this:
CALL METHOD gr_veh_opt_grid->register_edit_event
EXPORTING:
i_event_id = cl_gui_alv_grid=>mc_evt_modified.
The problem is in situation when user selects all values end then press OK button with mouse. Then last changed value is not registered by data_changed event.
Can anyone help me how to solve this problem?
Is is possible to force ALV to call data_changed event somehow or read dropdown values not using data_changed event?
Best regards, Tomek
2010 Jul 15 9:54 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |