Very Important

Help !

Does anybody know why when we apply the code that runs a double click event on the rows of a grid ,(and this grid have a column image template) the image disappear from that row !!!!

This is the code of the image column template:

obj.setColumnTemplate(new Active.Templates.Image,13);
obj.setDataProperty("image", function(i, j){return myData[i][9]});

This is the code for the double click event wich goes after it in my code...

var row = new Active.Templates.Row;
row.setEvent("ondblclick", function(){this.action("myAction")});
obj.setTemplate("row", row);
obj.setAction("myAction", alert('hi'));

Please help me !

March 1,

This topic is archived.

See also:

Back to support forum