Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Drag drop

Former Member
0 Likes
648

HI ,

I have tabstrip control which consists of 3 tabs and each tab conatians ALV -cl_gui_alv_grid .

Drag and drop function is working for only for alv of second tab for the remaining tabs drag drop funciton not working al thought i implemented same code , when i am draging for parameter alv no event is getting triggred and if i drag for condtion alv event is getting triggred .

why is it behaving like this ?

handle_drag_parameter

FOR EVENT ondrag OF cl_gui_alv_grid

IMPORTING es_row_no

e_dragdropobj,

handle_drop_parameter

FOR EVENT ondrop OF cl_gui_alv_grid

IMPORTING es_row_no

e_dragdropobj,

handle_drag_condition

FOR EVENT ondrag OF cl_gui_alv_grid

IMPORTING es_row_no

e_dragdropobj,

handle_drop_condition

FOR EVENT ondrop OF cl_gui_alv_grid

IMPORTING es_row_no

e_column

e_dragdropobj,

HI ,

I have tabstrip control which consists of 3 tabs and each tab conatians ALV -cl_gui_alv_grid .

Drag and drop function is working for only for alv of second tab for the remaining tabs drag drop funciton not working al thought i implemented same code , when i am draging for parameter alv no event is getting triggred and if i drag for condtion alv event is getting triggred .

why is it behaving like this ?

handle_drag_parameter

FOR EVENT ondrag OF cl_gui_alv_grid

IMPORTING es_row_no

e_dragdropobj,

handle_drop_parameter

FOR EVENT ondrop OF cl_gui_alv_grid

IMPORTING es_row_no

e_dragdropobj,

handle_drag_condition

FOR EVENT ondrag OF cl_gui_alv_grid

IMPORTING es_row_no

e_dragdropobj,

handle_drop_condition

FOR EVENT ondrop OF cl_gui_alv_grid

IMPORTING es_row_no

e_column

e_dragdropobj,

3 REPLIES 3
Read only

uwe_schieferstein
Active Contributor
0 Likes
599

Hello Naga

There are at least two places where you need to check your coding:

(1) SET HANDLER: Have you activated all required event handler method for the right grid instance?

(2) Have you created and assigned the right flavours for Drag&Drop?

Regards

Uwe

Read only

0 Likes
599

Thank u i have done mistake at flavour ....thanks a lot for your timely reply

Read only

Former Member
0 Likes
599

check the standard program RSDEMO_DRAG_DROP_TREE_MULTI