snowride icon indicating copy to clipboard operation
snowride copied to clipboard

Zafixovat čísla řádků, když se posunu vpravo

Open Soothsilver opened this issue 6 years ago • 1 comments

  1. Zafixovat čísla řádků, když se posunu vpravo - jako u robot ridu. Taky mě ještě napadlo, zda by nemohly být označeny I sloupce. Ale nevím přesně, k čemu a zda by to bylo dobré.

Soothsilver avatar Jun 14 '19 07:06 Soothsilver

4

I am able to freeze columns in javafx table view. We need to create our custom table column class where in we will have two methods setFixed and isFixed which will be used to make some column as fixed.

Apart from this you need to create your own

TableViewskin

TableHeaderRow - basically in this class you need to override the getRootHeader() method

NestedTableColumnHeader - In this class override layoutChildren() method and add new method to layout the fixedColumns VirtualFlow TableView - override createDefaultSkin() , add new booleanProperty showColumnHeaderand one ObservableArrayList for fixedTableColumn TableRow - Override createDefaultSkin() TableRowSkinBase - override layoutChildren() method to handle fixed columns.

Soothsilver avatar Jun 14 '19 08:06 Soothsilver