on 08-07-2008 9:22 AM
Hello,
does the SALV Component supports the double click functionality?
(After a double click into a cell of the ALV, a self programmed action shall start)
If there is no support for double click, how can I get the index of the selected / clicked cell?
I need the row number and the name of the column (because, depending on the column different additional data shall be displayed in another part of the View)!
Thanks for your help!
Hello Abhi,
thanks for your answer.
I implemented it, but it seems not to work and I found the following:
ON_CLICK and ON_CELL_ACTION are only triggered when the cell editor is a link or a button but not when clicking on an input_field.
My ALV is not editable and I have only Text view fields.
Do you have another advice?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use
CALL METHOD LR_ALV_CONFIG->IF_SALV_WD_TABLE_SETTINGS~SET_CELL_ACTION_EVENT_ENABLED
EXPORTING
VALUE = ABAP_true.
to enable the cell action event and subscribe to the event ON_CELL_ACTION of the ALV
here you have, this event has R_PARAM as parameter of type IF_SALV_WD_TABLE_CELL_ACTION
column and index
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.