Skip to main content



      Home
Home » Eclipse Projects » NatTable » Sorting a TreeTable at first level
Sorting a TreeTable at first level [message #1817424] Thu, 21 November 2019 16:52 Go to next message
Eclipse UserFriend
Hi all,
I want to sort a tree table on its first level with a single click on the column header. With a "normal" table it works fine, but with a tree table it doesn't work. How could I implement this? I didn't find an example for it.

TIA,
Ralf.
Re: Sorting a TreeTable at first level [message #1817427 is a reply to message #1817424] Thu, 21 November 2019 23:49 Go to previous messageGo to next message
Eclipse UserFriend
You need to connect the TreeFormat with the ISortModel.

Example is here: https://github.com/eclipse/nebula.widgets.nattable/blob/master/org.eclipse.nebula.widgets.nattable.examples/src/org/eclipse/nebula/widgets/nattable/examples/examples/_100_Layers/TreeGridExample.java
Re: Sorting a TreeTable at first level [message #1818439 is a reply to message #1817427] Mon, 16 December 2019 05:28 Go to previous message
Eclipse UserFriend
ah, ok. Thanks a lot.
Previous Topic:Customize/Configure ColumnChooser
Next Topic:Row and column header disappear
Goto Forum:
  


Current Time: Sat May 24 10:07:54 EDT 2025

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

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

Back to the top