Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  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,862
    Answers
    651
    Vote Rating
    438
    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