:: Forum >>

How do I dynamically hide a cell image?

Based on the conditions, I want to either show or hide an image in the first column.

For the first, this works perfectly.
obj.setCellImage("favorites",0);
    obj.setCellTemplate(new AW.Templates.ImageText, 0);


How do I similarly hide the image and just show the text?

Thanks a lot for all help in this forum.
Sam H
Tuesday, June 12, 2012
Nevermind. Just reset obj.setCellTemplate(new AW.Templates.Text, 0) and it worked. I should probably wait a bit before I post :-)
Sam H
Tuesday, June 12, 2012

This topic is archived.


Back to support forum

Forum search