oncontextmenu
Amazing, This is a very cool and capable widget. I am trying to use the oncontextmenu event however I have some issues mainly with by brain as jscript is not my primary language
I instate the event handler for oncontextmenu like so
obj.setEvent("oncontextmenu", "window.event.cancelBubble=true;showmycontext(this);return false;");
Now the problem I know 'this' is not returning what I expect it returns className: active-controls-grid
However I want to be able to access the methods of the grid such as my event handler can do things like
function showmycontext(src) {
alert( src.getProperty("item/text") );
}
Any clues or assistance would be great
I instate the event handler for oncontextmenu like so
obj.setEvent("oncontextmenu", "window.event.cancelBubble=true;showmycontext(this);return false;");
Now the problem I know 'this' is not returning what I expect it returns className: active-controls-grid
However I want to be able to access the methods of the grid such as my event handler can do things like
function showmycontext(src) {
alert( src.getProperty("item/text") );
}
Any clues or assistance would be great
November 30,