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.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default [OPEN-680] TreeStore load event not firing

    [OPEN-680] TreeStore load event not firing


    Can't get any response for this in the Help forum here so I am assuming this is a bug.

    Code example:
    Code:
                        store: new Ext.data.TreeStore(
                            {
                                id: 'homeMenuStore',
                                model: 'menuItem',
                                proxy: {
                                    url: '../path/getData',
                                    type: 'ajax',   
                                    reader: {
                                        type: 'tree',
                                        root: 'subs'
                                    }
                                },
                                listeners: {
                                    load: function (str, recs, suc) {   //<=== if beforeload, this fires just fine
                                        alert('store loaded...');
                                    }
                                }                                            
                            }
                        ),

  2. #2
    Ext User
    Join Date
    Dec 2010
    Posts
    11
    Vote Rating
    0
    snapshotmedia is on a distinguished road

      0  

    Default


    I'm finding this also. Any ideas?

  3. #3
    Sencha Premium Member christythomas's Avatar
    Join Date
    Dec 2010
    Location
    Dover, NH
    Posts
    38
    Vote Rating
    1
    christythomas is on a distinguished road

      0  

    Default


    Have you tried read instead of load?

  4. #4
    Sencha User
    Join Date
    Jul 2008
    Posts
    57
    Vote Rating
    0
    Markj is on a distinguished road

      0  

    Default


    Read will work, but it should fire on Load.

    TreeStore needs adhere to how Store works (there are other issues with the api besides this)

  5. #5
    Sencha User pdesmet's Avatar
    Join Date
    Mar 2011
    Location
    belgium
    Posts
    45
    Vote Rating
    0
    pdesmet is on a distinguished road

      0  

    Default


    The load event is not fired also the listchange event does not fire.
    Still some core bugs ...
    Pieterjan de Smet
    Webdeveloper - Freelancer

    Blog: http://www.pdesmet.com
    Company: http://www.paprikadesign.be

    Ext JS - Javascript - jQuery - .NET - PHP - SQL - HTML - CSS

  6. #6
    Sencha User pdesmet's Avatar
    Join Date
    Mar 2011
    Location
    belgium
    Posts
    45
    Vote Rating
    0
    pdesmet is on a distinguished road

      0  

    Default


    I found a solution

    So what you do is extend the TreeStore
    and you override the function onProxyLoad and there you fire the event load

    Code:
    onProxyLoad: function(operation) {
            stores.Folder.superclass.onProxyLoad.call(this, operation);
            
            this.fireEvent('load', this, operation.getRecords(), operation.wasSuccessful());
        }
    Pieterjan de Smet
    Webdeveloper - Freelancer

    Blog: http://www.pdesmet.com
    Company: http://www.paprikadesign.be

    Ext JS - Javascript - jQuery - .NET - PHP - SQL - HTML - CSS

  7. #7
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    germany
    Posts
    14
    Vote Rating
    -1
    Yacine BRITAH is an unknown quantity at this point

      0  

    Default


    what's the "stores" parameter???

    your override doesn't give a result because of this variable "stores"

Similar Threads

  1. TreeStore load event not firing
    By Bucs in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 15 Dec 2011, 11:27 PM
  2. [DUPE-447] Ext.data.TreeStore firing "read" not "load"
    By benwhite in forum Sencha Touch 1.x: Bugs
    Replies: 1
    Last Post: 3 Nov 2010, 1:32 PM
  3. [OPEN-447] TreeStore not firing "load" event
    By Steffen Hiller in forum Sencha Touch 1.x: Bugs
    Replies: 1
    Last Post: 21 Oct 2010, 3:33 PM
  4. Replies: 1
    Last Post: 3 Mar 2010, 2:01 PM
  5. Load event not firing...
    By CayIT in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 2 Feb 2010, 9:20 AM

Thread Participants: 5