3.0 beta 2

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
May 17,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.