:: Forum >>

setTopImage - refreshing changes without refreshing whole grid.

Alex,

A small issue - basically changing the top selector image on mouse over, mouse out etc. - it works if one refreshes the whole grid but this is very slow so I'd rather just refresh the top template. I've tried:

obj.setTopImage("tick", 0); obj.getTopTemplate().refresh();

But sadly doesn't change the image.

Thanks

Charles.
Charles Dean
Tuesday, February 12, 2008
Charles,

you should use topSelectorTemplate and also the correct index (row) -

obj.setTopImage("tick", 0);
obj.getTopSelectorTemplate(0).refresh();
Alex (ActiveWidgets)
Tuesday, February 12, 2008

This topic is archived.


Back to support forum

Forum search