I am trying to create an editor in javafx for data modelled as a boolean double entry table : basically I have a table with named rows, named columns and a checkbox in each cell. In terms of features I would need to be able to:
- check/uncheck a cell
- rename/add/remove a column/row
- load big tables (> 1000 rows and columns)
- select rows and colums to extract a sub-table
I have tried to use the TableView class, but it's focused on columns, and I don't see any way to add row names in the same way as column names. There is still the solution to add a first column with row names, but it is not ideal. So as far as I have looked, I found 2 other solutions:
- drawing my table on a Canvas. As I understand it would allow me to do anything I want, but I would need to implement everything and I am not sure how to deal with really big canvas (how to not dràw the entire table)
- draw my table in html and use a webview to display it. As I understand that would help with the drawing, but would require html, javascript and the communication with rest of the app does not appear to be easy. I have not much experience with JavaFX at the moment and I am not sure which would be the most practical or if another solution would be better. What do you think would be the best?