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 05:03 Go to next message
Asawari Kowthekar is currently offline Asawari Kowthekar
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 05:16 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1220
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 08:49 Go to previous messageGo to next message
Edwin Park is currently offline Edwin Park
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 00:29 Go to previous message
Asawari Kowthekar is currently offline Asawari Kowthekar
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:setBackgroundColor for tooltips
Next Topic:Tree node text doesn't use full cell width
Goto Forum:
  


Current Time: Mon Jul 28 16:44:54 EDT 2014

Powered by FUDForum. Page generated in 0.01632 seconds