1. #1
    Sencha User
    Join Date
    Feb 2015
    Posts
    1
    Vote Rating
    0
    sakkarai is on a distinguished road

      0  

    Default Unanswered: One Grid two Stores

    Unanswered: One Grid two Stores


    Hi everyone,
    I have one Question ,
    I used to have one Grid where i get the Data from two stores one for images and one for Data,
    as expected the data store is faster than the image ( ajax request ) is there someway option to set the data Store or the grid to wait for the images ?





    Excuse me for my worse english

  2. #2
    Sencha User
    Join Date
    Sep 2014
    Posts
    21
    Vote Rating
    1
    cpsarathe is on a distinguished road

      1  

    Default


    I think a fiddle projecting your problem can help you get answer faster.

    Following solution may work -

    Ext.Ajax.request({
    async : false,
    url : 'call/to/image',
    method : 'GET',
    success: function(response, opts) {
    //you have array of images here in response
    //now load data from here
    grid.getStore().load();
    }
    });

Thread Participants: 1