:: Forum >>

Image Exemple

Does anybody have an exemple of a grid showing a column of images, based on css or on a value in myData...
So many different exemples that I never got to see working :

Something like :
obj.setCellImage("search", 1, 1);
OR
grid.setColumnTemplate(new Active.Templates.Image, 1);
grid.setDataProperty("image", function(i, j){return myData[i][2]});

Thks...
JeanLuc
Friday, December 2, 2005
You can set an image in the grid data/model. Something like:

["A271", "<img src='complying.gif'/>", "20-Sep-2005, 19:14", ... ]

I think that this is v1,0 behaviour.
LostInSpace
Friday, December 9, 2005

This topic is archived.


Back to support forum

Forum search