[ 
https://issues.apache.org/jira/browse/PIVOT-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902580#action_12902580
 ] 

Chris Bartlett commented on PIVOT-609:
--------------------------------------

With regard to 'potentially invalidat[ing] the designer's intent', if new style 
was added as suggested, the designer would be able to set it if they wished in 
order to allow the user full control over the column widths.  
The designer would still be able to enforce the current logic by simply not 
setting the style, but a new style would allow the 'best of both worlds'.  

As a user, I want to be able to resize the columns in a TableView in order to 
best utilize what may be limited screen 'real estate'.  Conversely a TableView 
with only a few relative sized columns, might be set to fit to the available 
width of its (wide) parent container, and then become hard to read as the 
columns are spaced apart.

The designer may also not know about the data which will be displayed in the 
TableView.  For example, a database admin tool might allow a user to type in 
and execute a SQL query, and then display the result set in a TableView.  In 
this scenario, in order to allow the user to resize any & all columns as they 
wish, the TableView columns would have to be set to absolute widths.


> Allow relative sized TableView.Columns to be resized using the mouse with a 
> TableViewHeader
> -------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-609
>                 URL: https://issues.apache.org/jira/browse/PIVOT-609
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk, wtk-terra
>         Environment: n/a
>            Reporter: Chris Bartlett
>            Priority: Minor
>             Fix For: 2.1
>
>
> TerraTableViewHeaderSkin does not allow relative width sized columns to be 
> resized.
> It would be useful for users to be able resize all columns regardless of how 
> their widths were initially specified.
> Perhaps add a new style property (allColumnsResizable / 
> relativeColumnsResizable) which would mean that the skin allows all of 
> columns to be resized.
> Relative sized columns which have been resized should then be converted into 
> fixed size columns for the duration of the life of the TableView instance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to