3.0.5

Active.Templates.Image conflicts with oncontextmenu and onDoubleClick?

Hi,

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?

Cheers,
Yereth


Yereth
November 30,

This topic is archived.

See also:


Back to support forum