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 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 09:16 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1289
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 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 04: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: Sat Sep 20 12:01:39 GMT 2014

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

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