The ExtOkCancelDialog widget displays an OK/Cancel dialog.
Example
Icon:
Configuration
message: String
Message to be displayed to the user.
icon: String
The CSS Class of the image to be displayed. Images provided are:
Information: k-ext-information
Question: k-ext-question
Warning: k-ext-warning
Error: k-ext-error
Methods
show
Show the ok/cancel dialog.
Parameters
options: JSON Object
Configuration options used to display the ok/cancel dialog.
Return
jQuery.Deferred Object
jQuery Deferred object. When the Deferred object is resolved, any done callbacks are
executed when the user clicks on the OK or Cancel button. The argument returned is
a JSON Object with the following attributes: