>
> Oh and it would be a very cool thing if the TableView could support
>> automatic
>> widths :-)
>>
>
> By "automatic", do you mean "size to fit"? In other words, make the column
> width the max. width of all the cells in a particular column?
>
> If so, we don't currently support that. We could conceivably do so by
> supporting a value of -1 for column width (like TablePane columns), but we
> didn't think there was a strong use case for that. TablePanes generally have
> a small number of rows, so calculating this width doesn't impose a
> performance penalty. However, TableViews are intended to display a large
> number of rows and it could be costly to determine this value.
>
> On the other hand, if you know you are only going to have a small number of
> rows in your TableView, it might be a useful feature. Please feel free to
> submit a feature request for this (in JIRA).


There's also been talk a long time ago about adding the ability for
the user to double-click in between column headers to size the column
to fit.  This wouldn't impose a big performance penalty because it
would be a one-time hit, as opposed to something that were calculated
every time the
TableView were asked for its preferred size.  Would this feature meet your
needs here?

>
>
> Greg
>
>

Reply via email to