I wanted to add some data to a table contextmenu like this:
contextMenu()
{
var menu = new ....Menu();
//either:
menu._mystuff = "hi";
// or:
menu.setUserData("mystuff", "hi");
return menu;
}
and then ask about it in the ContextMenuHandler:
function(col,row,table,model,menu)
{
var t = menu.getUserData("mystuff");
//or
var x = menu._mystuff;
}
But this doesn't work, I get:
Cannot convert 'menu.getUserData("mystuff")' to object
Why?
cheers,
Michael
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
VERIFY Test and improve your parallel project with help from experts
and peers. http://goparallel.sourceforge.net
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel