Reputation: 13
I am deleting a row data from TableView but it is not updating after the action. I am updating the values, that is working fine. But only if I delete entire row the problem arises. Help. Using JavaFx.
I am removing that entry by this:
observablelist.remove(selectedIndex);
And setting the contents again:
tvTable.setItems(observablelist);
I doubt, if any code can help this question.
Upvotes: 1
Views: 2306
Reputation: 36742
In order to help you, I have created a sample. Please refer to
Hope, it helps !
Upvotes: 1