Reflect updates to values in a Cell Table

122 Views Asked by At

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.

1

There are 1 best solutions below

3
Andrei Volgin On

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.