Click event returns item, DblClick return row
I use the following to capture the double click event, but src.getColumnProperty("index") keeps returning undefined. How can I find out what column was clicked?
var row = new Active.Templates.Row;
row.setEvent("ondblclick", function(){this.action("myAction")});
obj.setTemplate("row", row);
obj.setAction("myAction", function(src){alert(src.getColumnProperty("index"))});
var row = new Active.Templates.Row;
row.setEvent("ondblclick", function(){this.action("myAction")});
obj.setTemplate("row", row);
obj.setAction("myAction", function(src){alert(src.getColumnProperty("index"))});
Gates
September 29,