When using event OnClose then occurs before the window is closed but if simple alert(‘win close’); is working and occurs alert window but not closing ???
and more when that OnClose uses script to update tree or grid or something else it always repeat !!! then stunt
How it work ???
dhxWins.attachEvent(“onClose”, function(win){
// code here
});
I have tried this so many ways, it simply does not work. The text box value decreases by 1 as the code says, then i return a true value which should close the window right? WRONG.
I have tried to put the close function in there, nothing. If i put just return true in there, it will close, but if there is any other code, it will execute the code and stop, the window will not close.