Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » DragSupport and reorderDragMode Doesn't works together
DragSupport and reorderDragMode Doesn't works together [message #1748750] Mon, 28 November 2016 10:23 Go to next message
Mickael ADAM is currently offline Mickael ADAMFriend
Messages: 31
Registered: February 2014
Member
Hi,

I currently trying to implement drag support on nattable to drag element from the table to Papyrus Diagram(see bug 502560).
I based my code on the example provide in nattable source. All works fine during my test on row header.

In the implemenation of natable we also have enable column reoder drag model using IDragMode.

It appears that when we enable drag support on colomn header, the reorder drag mode doesn't works anymore.

Is there a way to do working DnD mechanism in/with dragMod framewoks ?

Thanks for the help.

Mickaël
Re: DragSupport and reorderDragMode Doesn't works together [message #1748754 is a reply to message #1748750] Mon, 28 November 2016 11:28 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
Never tried that before. I assume the drag support catches the event and doesn't propagate it further, therefore the NatTable internal code doesn't get the events anymore.

Not sure if it is possible to send the events further additionally to the drag support.
Re: DragSupport and reorderDragMode Doesn't works together [message #1748785 is a reply to message #1748754] Mon, 28 November 2016 15:27 Go to previous messageGo to next message
Mickael ADAM is currently offline Mickael ADAMFriend
Messages: 31
Registered: February 2014
Member
ok, thanks for the reply. I will see what's possible to do.
Re: DragSupport and reorderDragMode Doesn't works together [message #1748793 is a reply to message #1748785] Mon, 28 November 2016 16:29 Go to previous message
Mickael ADAM is currently offline Mickael ADAMFriend
Messages: 31
Registered: February 2014
Member
So I see no solution. I've create a bug: Bug 508311

Mickaël
Previous Topic:Problem with greyed out columns when table is resized
Next Topic:Mass update of Groupby table with Regular Expession is not working.
Goto Forum:
  


Current Time: Tue Sep 25 11:48:58 GMT 2018

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

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

Back to the top