Reputation: 21186
I have a paginated table rendering my elements.
Now one of the elements of that type are updated by the server (by some other source). A message is received on the client that that element is updated (I have the object).
How do I reflect this on the table?
I think if I could just get the row for that element I'd be done.
Upvotes: 0
Views: 120
Reputation: 41089
Typically, you can simply call refresh
on the DataProvider that backs your table.
But if your table is very complex, you can call
table.redrawRow(i);
where i
is the index of your updated object in the list backing the DataProvider.
Upvotes: 1