Zafixovat čísla řádků, když se posunu vpravo
- 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é.
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.