To close the dialog programmatically, you can
use the $.close_dialog() function:
$.close_dialog ();
Valid options are width and height. Note that $.open_dialog()
returns the current dialog number. A more top level dialog
number can be passed to $.close_dialog() and it will cascade
the close action to all child dialogs too.
Provides modal dialog capabilities to app developers. Supports nested dialogs too.
Usage:
Load this handler either in your handler:
Or anywhere in your view:
Use the
$.open_dialog()
function to create your dialog windows:To close the dialog programmatically, you can use the
$.close_dialog()
function:Valid options are width and height. Note that
$.open_dialog()
returns the current dialog number. A more top level dialog number can be passed to$.close_dialog()
and it will cascade the close action to all child dialogs too.