3.0.5

Double Click on images templates inside rows

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 disapper from that column !!!!


This is the code of the image column template:

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

This is the code for the double click event

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

Please help me !
Issa.
Issa F
February 9,

This topic is archived.

See also:


Back to support forum