Results 1 to 3 of 3

Thread: How to give time delay in alert msg ok button event

  1. #1

    Default How to give time delay in alert msg ok button event

    Hi,

    I am new to sencha touch and my issue is when i am clicking the alert msg ok button my list view is also getting the click event in the portion of ok button . So i need to put some time delay before hiding the alert and clicking ok, can any one help how to give some time delay in alert ok button event or any other solution for the fix. Please find the below code. Thanks in advance.

    Ext.Msg.alert('', 'Data saved successfully', function(btn, text){

    if (btn == 'ok'){

    // DO WORK

    //Ext.defer(function(){ console.log('ok clicked');},400);

    }else{
    return false;
    }
    });

  2. #2

    Default

    Hi ,

    Any one from sencha team please help me out on this as soon as possible.

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    15
    Answers
    3

    Default

    Add your own custom pop up would be bettter

Tags for this Thread

Posting Permissions

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