In an object of class derived from TableView<MyRecord, String> I am binding columns to data via setCellFactory(). When my form appears on screen with all data fetched and I click any column in the table header to perform sort by that column, nothing happens. I added ListChangeListener object for getSortOrder() property, but it does not work when I click the same column to change sort order type, because there is no column added to / removed from the sort order list.
Is this a known issue? Do you have any simple working example of a TableView with columns bound to data via setCellFactory(), which can be sorted by any column by mouse clicks?
Please note, that if I bind data via setCellValueFactory(), everything works as expected. But in this case I am unable to align columns.
Thank you.
Is this a known issue? Do you have any simple working example of a TableView with columns bound to data via setCellFactory(), which can be sorted by any column by mouse clicks?
Please note, that if I bind data via setCellValueFactory(), everything works as expected. But in this case I am unable to align columns.
Thank you.