:: Forum >>

Active.Templates.Image conflicts with oncontextmenu and onDoubleClick?


I have a grid in which I use several extra actions such as onDoubleClick and oncontextmenu. Everything seemed to work fine, untill I decided I needed an image in my rows. I added:

grid.setColumnTemplate(new Active.Templates.Image, 1);
// Column 7 is where the image data is
grid.setDataProperty("image", function(i, j){return myData[i][7]});

Now the image shows fine and everything but one thing works just like it did and should as well. The one thing that doesn't is that I right-click and double-click is disabled only in the column that now shows an image next to the text. This a bit odd. How can I fix it?


Wednesday, November 30, 2005

This topic is archived.

Back to support forum

Forum search