Skip to Content
avatar image
Former Member

Drag and drop in different iView

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.

Thanks

deep

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Mar 16, 2004 at 12:43 PM

    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

    D

    Add comment
    10|10000 characters needed characters exceeded