Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » How to reorder multiple columns(via one mouse drag action)
How to reorder multiple columns [message #1805139] Mon, 08 April 2019 09:37 Go to next message
Hilger Steenblock is currently offline Hilger SteenblockFriend
Messages: 16
Registered: June 2016
Junior Member
How to reorder multiple columns via one mouse drag action? Via API it seems to work but how can I archive this via one mouse action?

  • Example
  • 'Select two or three columns (for example Gender and Birthday) via shift key
  • Click and drag to another position
  • --> only one column (Gender) is moved to the new position.
Re: How to reorder multiple columns [message #1805146 is a reply to message #1805139] Mon, 08 April 2019 10:47 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2814
Registered: July 2012
Senior Member
This is currently not supported out of the box. The current implementation does not take the selection into account. It only takes the column that is currently dragged.

You would need to implement a custom drag mode that takes the current fully selected columns and trigger a MultiColumnReorderCommand.
Previous Topic:How to restore a column selection
Next Topic:Canonical way of clearing the content of a cell?
Goto Forum:

Current Time: Sun Jun 13 05:59:39 GMT 2021

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

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

Back to the top