0

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.

Michael Wiles
  • 20,902
  • 18
  • 71
  • 101

1 Answers1

1

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.

Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58