3.2.0

AW.Templates.Image in 2.5

This code worked well in the 2.0 version: Only the Image shows up in the grid.
Now in the 2.5 version the image and the cell text are displayed?

this.grid.setCellTemplate(new AW.Templates.Image, index);
this.grid.setCellImage(function(col,row) { return this.getCellText(col,row); }, index);

Any idea?
ozzel
December 5,
Apparently this is a bug (regression) in AW 2.5. Here is a patch/fix -

(function(){
    new AW.Templates.Image;
    AW.Templates.Image.prototype.setContent("box/text/html", "");
})();


Add this code either to the end of aw.js file or directly into your page before you create any of AW objects.
Alex (ActiveWidgets)
December 5,
Fixed in 2.5.1
Alex (ActiveWidgets)
December 12,

This topic is archived.

See also:


Back to support forum