2014 Jan 30 4:51 AM
Hi Experts,
Is it possible to read the column index in 'cl_gui_alv_grid'
BR,
King
2014 Jan 30 4:54 AM
Use parameter e_column to get column name.
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid IMPORTING e_row
e_column,
Regards
2014 Jan 30 4:54 AM
2014 Jan 30 5:03 AM
Hi Nabheet,
I created an alv using grid->set_table_for_first_display.
I also had method as below:
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid IMPORTING e_row,
I can obtain the row index by e_row.
Is it possible to read the column index also?
BR
King
2014 Jan 30 5:07 AM
Use parameter e_column to get column name.
handle_double_click
FOR EVENT double_click OF cl_gui_alv_grid IMPORTING e_row
e_column,
Regards
2014 Jan 30 5:11 AM
Thanks!
May I ask how to view the import parameter in method?
Thus, I can check by myself later.
BR,
King
2014 Jan 30 5:13 AM
Hi,
Go to SE24 and enter the class name. Then go to events tab and place the cursor on your desired event and click on "parameters" button.
Regards
2014 Jan 30 5:18 AM
Hi,
In the event Double click they are three parameters
so you can use E_column to get the column name
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |