Skip to main content



      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 07:20 Go to next message
Eclipse UserFriend
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 10:58 Go to previous messageGo to next message
Eclipse UserFriend
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 05:07 Go to previous messageGo to next message
Eclipse UserFriend
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 05:27 Go to previous messageGo to next message
Eclipse UserFriend
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 09:13 Go to previous messageGo to next message
Eclipse UserFriend
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 09:30 Go to previous message
Eclipse UserFriend
For me the GridLayout works best
Previous Topic:Listener on header changes
Next Topic:Frequent calls of DisplayConverter
Goto Forum:
  


Current Time: Tue Jun 17 08:02:19 EDT 2025

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

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

Back to the top