1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    131
    Vote Rating
    5
    zlevardy is on a distinguished road

      0  

    Default Unanswered: store.load() and result grid is in a popup window: how to show wait msg?

    Unanswered: store.load() and result grid is in a popup window: how to show wait msg?


    hi,

    trying to implement a search from many databases, and sometimes these queries are slow. How can I force to have a wait message and to not allow result windows with grid until search completes?

    current skeleton:

    mystore.load({params...});
    var win = new Window();

    should I try to cover the whole lot into a ajax call?
    It was not working, because after slow query, it is doing a "paging": localhost:8080/search.json?start=0&limit=25, and worst part is, it made automatically, and not including my required criteria=value parameter.
    Any hints where this paging coming from? (not added paging at all)

    thx,
    Zol

  2. #2
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    131
    Vote Rating
    5
    zlevardy is on a distinguished road

      0  

    Default


    solution was by ajax call, and using loadData for the Store. Parsing by .data:

    Ext.Ajax.request({
    url: '/query.json',
    params: sParams,
    timeout: 300000, // (5mins)
    method: 'POST',
    waitMsg: 'Searching...',
    scope: this,
    success: function(response, opts) {
    waitMessage.hide();
    var obj = Ext.decode(response.responseText);
    var myStore = Ext.StoreMgr.get('Search');
    if (obj.success) {
    myStore.loadData(obj.data);
    }

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thank you for providing the solution!

    Scott.

Thread Participants: 1

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