Updating the GWT Cell Table at Run Time

I am trying to update the cell table at runtime, the cell table gets its date from the list

Cell_Table.setRowData(0,AllMessages);

I am trying to update a List AllMessagesand then do it Cell_Table.redraw();without success.

I try to do it again Cell_Table.setRowData(0,AllMessages);without success AS WELL

when I use the same technique to add rows, everything is fine, but when I delete some data from the list that feeds it, the cell table is not updated!

+3
source share
1 answer

by
John LaBank

@ GWT talk

setRowData (int, List) replaces the data range. So, if the list is shorted, it does not concern the elements that appear after the end of the list.

: table.setRowData(0, NewMessages); table.setRowCount(NewMessages.size(), true);

setRowData, ( GWT 2.1.1): table.setRowData(NewMessages);

+6

Source: https://habr.com/ru/post/1783689/


All Articles