I created a simple table-view with multiple string/number columns. How can I sort the table clicking on the column header? It's not sorting based on the column value but following some string comparison on the item map I think. Is there a pattern I've to follow?
Your table column should use cell value factory to extract string/number from the map, iirc after that it will sort by that value
I.e. like this https://github.com/cljfx/cljfx/blob/master/examples/e16_cell_factories.clj#L20, but :cell-value-factory :my-map-key