Hybrid View

  1. #1
    Ext User
    Join Date
    Oct 2009
    Posts
    1
    Vote Rating
    0
    orvilletw is on a distinguished road

      0  

    Post How to add confirm dialog before deleting docuemnt

    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?
    thanks

  2. #2
    Ext User
    Join Date
    Mar 2009
    Posts
    3
    Vote Rating
    1
    cevarief is on a distinguished road

      1  

    Cool


    Code:
    Ext.MessageBox.confirm('Delete', 'Are you sure ?', function(btn){
       if(btn === 'yes'){
           //some code
       }
       else{
          //some code
       }
     });
    To trap the keyboard key : http://www.extjs.com/blog/2008/09/23/keyboard-handling/

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Posts
    2
    Vote Rating
    0
    johnnyd is on a distinguished road

      0  

    Default Confirm dialog

    Confirm dialog


    Sencha 2.2 this is now:

    Ext.Msg.confirm( .... )

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi