At some point, your application will probably need to give feedback to the user, ask the user a question, or alert the user to an event. This is where the
Sheet components come into play.
MessageBox component creates a window on the page, and can be used to display alerts, gather information, or present options to the user.
MessageBox can be called in three different ways:
Ext.Msg.alerttakes a title, some message text, and an optional callback function to call when the OK button on the alert is clicked.
Ext.Msg.prompttakes a title, some message text, and a callback function to call when the OK button is pressed. The
promptcommand creates a text field and adds ...