Skip to main content



      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 05:37 Go to next message
Eclipse UserFriend
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?
Scenario

  • Example _5081_ColumnReorderExample.java
  • '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 06:47 Go to previous message
Eclipse UserFriend
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: Fri May 23 18:21:35 EDT 2025

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

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

Back to the top