Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Inner Tables(Is it possible to have inner tables with NatTable?)
Inner Tables [message #1404737] Tue, 05 August 2014 11:35 Go to next message
Tobias Schulte is currently offline Tobias SchulteFriend
Messages: 1
Registered: July 2009
Junior Member
We want to create a table of items that have sub elements of a different type. It should be possible to expand an item by clicking an icon like in a treetable to open the list of sub elements. A vanilla treetable seems not to be a good fit, because the outer table has completely different columns than the inner table.

One implementation idea is to use row grouping for each item. On expanding a second row for the item is shown containing a single column spanning the whole table. This column uses a custom painter that itself uses a nattable.

Another idea is to use a treetable and on expand the same technique as in the previous paragraph.

The second with the subtable must be as high as needed to show the complete inner table.

What do you think? Is this possible?
Re: Inner Tables [message #1408113 is a reply to message #1404737] Thu, 14 August 2014 09:03 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
We have a TableCellPainter since 1.1.0. Please see the N&N for further information.

But we do not support more complex hierarchical inner subtables atm
Previous Topic:Bugfix release planning
Next Topic:Performance issue with NatTable
Goto Forum:
  


Current Time: Sat Apr 27 00:14:14 GMT 2024

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

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

Back to the top