i have a little problem here. I am working on a little application wich should interpretate and show a tableview of a sql interogation. My big problem is i do not know how to create a new tableview instance using fxml for a new interogation and replace the data in the table with the new data! I mean if i select 2 columns it will show 2 column, after that i select 3 column i will have a 3 column tableview. Any ideas?
Simple: I need to replace the existing interogated data with new interogation data in tableview!
I am using fxml!
Thanks a lot!
I found myself the answer. Before executing every sql command i must clear the tableview data, including columns!