Javafx-2 – JavaFX, how to freeze the position of some columns in a tableview

The idea is: on a tableview with n columns, the first m column can always be visible even with a horizontal scroll bar

Binding two tableviews together such that they scroll in sync The idea of juxtaposing two tables is not my best view, because

1) The sorting of columns is partially independent between two tables: if the same observablelist is used, rows will be sorted in two tables, but cannot be sorted on multiple columns. At least one column is not on the same table. 2) the mouse wheel or arrow keys do not scroll synchronously

I know, maybe I can use eventhandlers and listeners to deal with these problems, but I want to use only one table

So the question is: do tableviews or tablecolumns have any configurable properties to get the behavior I'm looking for?

Solution

Obviously not, but there is a function request for this behavior on JavaFX JIRA (you need to register to view it):

https://javafx-jira.kenai.com/browse/RT-19454

I suggest you vote.: ^)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>