Showing results for 
Search instead for 
Did you mean: 

Drag and drop in different iView

Former Member
0 Kudos

Hi all,

I want to use drag and drop feature to put values from one iView1 to iView2.

In iView1 there is a JCoTable in which i have made a column draggable and given it a flavour.In Iview2 in the drop target i have given the same flavour so i'm able to drop. i am also able to get the row number from where drag is taking place and also the column name. but i am not able to get the value from that row and column to the second iView.Any help would be appreciated.



Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

You have to make sure that you have defined a Key field and assigned it to the column that you wish to drag. Once you have done this you should create a drop event handler, which uses DropEvent object. There is a method called getSourceEvent, which should return you the value dropped

I hope this helps