Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Columns shall be arrange on the available width of nattable(Column size )
icon3.gif  Columns shall be arrange on the available width of nattable [message #1728148] Thu, 31 March 2016 11:20 Go to next message
Martin Manthey is currently offline Martin MantheyFriend
Messages: 7
Registered: March 2016
Junior Member
I want to arrange all columns on the available horizontal size of the nattble.
But if the nattable is resized the columns are not always arrange on the whole available horizontal size, and sometimes also the scrollbars remain visible although it's not necessary.
What can I do to fix the size of all columns on the available horizontal size?
Re: Columns shall be arrange on the available width of nattable [message #1728174 is a reply to message #1728148] Thu, 31 March 2016 14:58 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Are you talking about percentage sizing? This can be enabled via DataLayer.
Re: Columns shall be arrange on the available width of nattable [message #1728233 is a reply to message #1728174] Fri, 01 April 2016 09:07 Go to previous messageGo to next message
Martin Manthey is currently offline Martin MantheyFriend
Messages: 7
Registered: March 2016
Junior Member
Yes, we use percentage sizing. But it does not always work well.
For example we have two tables with the identical column structure, and one is below the other one, we hide a column of the one table
then the arrangement of the columns can be differed each other, because the table with less columns does not use the whole available horizontal size.
Re: Columns shall be arrange on the available width of nattable [message #1728236 is a reply to message #1728233] Fri, 01 April 2016 09:27 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Which layout do you use on the composite that contains your tables?
Re: Columns shall be arrange on the available width of nattable [message #1728268 is a reply to message #1728236] Fri, 01 April 2016 13:13 Go to previous messageGo to next message
Martin Manthey is currently offline Martin MantheyFriend
Messages: 7
Registered: March 2016
Junior Member
We use a self implemented layout in the parent composite of the Nattable instance.
Which layout do you prefer?

Re: Columns shall be arrange on the available width of nattable [message #1728271 is a reply to message #1728268] Fri, 01 April 2016 13:30 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
For me the GridLayout works best
Previous Topic:Listener on header changes
Next Topic:Frequent calls of DisplayConverter
Goto Forum:
  


Current Time: Thu Apr 25 10:57:29 GMT 2024

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

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

Back to the top