3.2.0

How to refresh without flickering

I am using my own JS objects, so the call looks like:

grid.setRowCount(myObjects.length);
//returns array representation of the objects that the grid understands
grid.setCellText(convertToArray(myObjects));
grid.refresh();

It is done periodically, as the data could change at any point.

If there are enough objects, a scrollbar appears. If you select an item near the bottom, you get a very ugly flicker effect when the refresh occurs, as the scrollbar is initially reset to the top and then moved down.

Any ideas on how to fix this? Thanks.
Sebastian
June 1,
New grid has APIs to refresh just 1 row or 1 cell; have you tried those approach?

Cheers,
Sudhaker Raj (http://sudhaker.com)
June 1,

This topic is archived.

See also:


Back to support forum