Results 1 to 4 of 4

Thread: How to add confirm dialog before deleting docuemnt

  1. #1

    Post How to add confirm dialog before deleting docuemnt

    Dear All

    When I click "Delete" button in keyboard,document that I selected in view will be deleted.
    How can I add the confirm dialog to remind user before document be deleted?

  2. #2


    Ext.MessageBox.confirm('Delete', 'Are you sure ?', function(btn){
       if(btn === 'yes'){
           //some code
          //some code
    To trap the keyboard key :

  3. #3
    Sencha User
    Join Date
    Feb 2013

    Default Confirm dialog

    Sencha 2.2 this is now:

    Ext.Msg.confirm( .... )

  4. #4


    For example to delete the files means to confirm that as follows
    int response;

    response = JOptionPane.showConfirmDialog(null, "Should i delete all files?");

    This is the example for adding the confirmation of the dialog add

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts