:: Forum >>

context menu on selected column

obj.setEvent("oncontextmenu", function(event){
return false;
});


The above code will turn on the browser context menu. However, is there a way to enable browser context menu only for certain grid column ? for exp, only for column 1.

have tried this

obj.getCellTemplate(1).setEvent("oncontextmenu", function(event){
alert("hello");
});



the alert is displayed but the browser (IE in my case) context menu was not displayed as expected... Any idea ?


Ken
Thursday, May 17, 2007

This topic is archived.


Back to support forum

Forum search