[REVIEW REQUEST] Disabling TableView column reordering

Scott Palmer swpalmer at gmail.com
Wed Jan 2 17:55:08 PST 2013


What if I want one column fixed, e.g. column 1, but the remaining columns reorder-able?
Could there be a way to specify ordering constraints on the columns?
E.g. columns 1-3 can be in any order but must be before columns 4-6, which can also be in any order.

Scott

On 2013-01-02, at 6:31 PM, Jonathan Giles <jonathan.giles at oracle.com> wrote:

> Hi all,
> 
> Just a quick post to discuss RT-24669 [1], which is a request to disable all column reordering functionality in TableView. I would like to support this use case in both TableView and TreeTableView by way of a 'columnReorderingEnabled' property (so, columnReorderingEnabledProperty(), setColumnReorderingEnabled(boolean) and isColumnReorderingEnabled()).
> 
> Are there any comments or API naming suggestions? I would love to have the naming be shorter, but I can't think of a better name that retains the clarity as to what the API does.
> 
> [1] http://javafx-jira.kenai.com/browse/RT-24669
> 
> Thanks,
> -- Jonathan


More information about the openjfx-dev mailing list