Hi,
i’m trying to use contextmenu in grid and for a menu item (for example “add notes”), i need to create a new window.
How can i attach window to grid? And can i configure dhtmlxWindow in xml?
Thanks in advance!
You can’t configure such logic in XML, but you can add necessary logic through js code.
menu.setContextMenuHandler(function(id){
if (id == “add_notes”){
//logic to open new window here
var win = dhxwins.createWindow (…
}
});