jQuery UI Widgets › Forums › Dialogs and Notifications › Window › Preventing closing a window
This topic contains 1 reply, has 2 voices, and was last updated by Martin 1 year, 10 months ago.
Is there a way to make sure that when the “close” event of a jqxWindow is activated, a message is shown, are you sure? and if the user chooses “no”, the window is not closed?
You can set the window’s showCloseButton property to false and create your own close button in the header with your own custom logic on click.
You must be logged in to reply to this topic.