You can attach event listeners with the dhxWindow.events.on() method:
dhxWindow.events.on("Move", function(left,top){
console.log("The window moved to "+left,top)
});
The names of events are case-insensitive.
Related sample: Window. Events
To detach events, use dhxWindow.events.detach():
var onmove = dhxWindow.events.on("Move", function(left,top){
console.log("The window moved to "+left,top)
});
dhxWindow.events.detach(onmove);
To call events, use dhxWindow.events.fire():
dhxWindow.events.fire("name",args);
// where args is an array of arguments
The full list of events is available in the related API section.
Back to top