Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ikhsan on Aug 13, 2009 18:23
open dhtmlx forum
dhxwindow: close window with esc key

dear all,

i wanna ask how to close dhx window by pressing esc key?

thx b4
Answer posted by Alex (support) on Aug 14, 2009 01:03

hello, 

  window can be closed by close() method. You can call it on the necessary action:

   dhxWins.window(winID).close();