Results 1 to 3 of 3

Thread: Display data after popup is closed

  1. #1
    Sencha User
    Join Date
    Jul 2012

    Default Display data after popup is closed

    I am displaying a popup that displays the search filter through which user can search the fields and after the user clicks on search the search popup closes and the data should be displayed. I am having a problem that the data is returned properly as it should be displayed but it is not displayed. Here is my code

                text: 'Search',handler: function() {
                    method: 'POST',
                    url: root_path +'abc/def/ajax/file.php?task=SEARCH',
                    params : {'origid': origid},
                        success: function(f, a) {
                        //Ext.getCmp('orderGridPanel').store.load(); Here I want to display my data on success but I am not able to display the data
                        //var myWindow = Ext.getCmp('orderGridPanel');
                        failure: function(f, a) { 
                            alert("Request failed");
    In the formPanel the pop up is being displayed and it is the way I want.
    Thanks in advance.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    So when you load the store does it fire a request?
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Jul 2012


    Yes, If I load the store after success it fires a request but the request is for listing. I think I have to do something like load Data to that store. Actually my store grid is in a variable and I call a function for the pop up. When the user selects the search criteria and the pop up closes I want to display the result of that search criteria but don't know how to display the data. Thanks for you reply.

Posting Permissions

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