Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Drag in NatTable
Drag in NatTable [message #909512] Fri, 07 September 2012 09:03 Go to next message
Asawari Kowthekar is currently offline Asawari KowthekarFriend
Messages: 4
Registered: September 2012
Junior Member
Is drag event possible in nattable ? as that of in MSs Excel.
Is there any example for drag ?
Can we get selected cell positions selected through drag?
Please reply .
Re: Drag in NatTable [message #909524 is a reply to message #909512] Fri, 07 September 2012 09:16 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
NatTable supports drag & drop by using DragSourceListener and DropTargetListener. You can add them via NatTable.addDragSupport() and NatTable.addDropSupport()

Unfortunately there is no example on that yet.
Re: Drag in NatTable [message #909629 is a reply to message #909512] Fri, 07 September 2012 12:49 Go to previous messageGo to next message
Edwin Park is currently offline Edwin ParkFriend
Messages: 124
Registered: July 2009
Senior Member
NatTable supports drag selection. Most of the examples demonstrate this, e.g. DefaultNatTable. The selection returns everything that is selected, including whatever is selected via drag.
Re: Drag in NatTable [message #912170 is a reply to message #909629] Thu, 13 September 2012 04:29 Go to previous message
Asawari Kowthekar is currently offline Asawari KowthekarFriend
Messages: 4
Registered: September 2012
Junior Member
Can someone provide me nattable.addDragSupport() exact code where i can get cell positions selected from drag event ?
Previous Topic:How to make NatTable cells editable ?
Next Topic:setBackgroundColor for tooltips
Goto Forum:
  


Current Time: Thu Apr 25 05:03:24 GMT 2024

Powered by FUDForum. Page generated in 0.03426 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top