Open ghost opened 3 years ago
Are you using pagination?
If pagination is attached, then the listeners do not have time to update the arrays of strings and cells, and when updating the data, the private method private void paginateData() is called, inside which IndexOutOfBoundsException.
pagination.setItemsPerPage(0); // !!!Pagination return IndexOutOfBoundsException
adapter.setAllItems(model.getColumnHeaderList(), model.getRowHeaderList(size), model.getCellList(list));
pagination.setItemsPerPage(100); // Your number of lines
Everytime I try to repopulate the tableview with a new dataset i get the IndexOutOfBoundsException.
adapter.setAllItems(model.getColumnHeaderList(), model.getRowHeaderList(size), model.getCellList(list));