1. #1
    Ext User
    Join Date
    May 2010
    Posts
    27
    Vote Rating
    0
    clavinovahan is on a distinguished road

      0  

    Exclamation Async tree calls load twice

    Async tree calls load twice


    Async tree has the tree store with loaded associated. Whenever a tree node expanded, the loaded get called. However if we fill the tree store with the whole tree data model, when we expad the tree node, the service get called once again. This is not a correct behavior. Since we already add all tree data model into the tree store, it should not call the loader once again when expand the tree node. At least there should be some switch we can turn on or off in terms of loader.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This is not a bug. If you ahve an async tree, than it loads the children by itself. Also read the bugforum guidelines for future posts

  3. #3
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This is not a correct behavior. Since we already add all tree data model into the tree store, it should not call the loader once again when expand the tree node.
    How should the tree now that you did that? programming is no magic, you need to tell it.

    If you do it manually, than you should not use a loader on the TreePanel directly

Similar Threads

  1. Replies: 4
    Last Post: 2 Jun 2010, 5:21 AM
  2. [CLOSED] The parent of selected tree node is NULL in Async Tree
    By fangning in forum Ext GWT: Bugs (2.x)
    Replies: 3
    Last Post: 10 Nov 2009, 12:15 AM
  3. Howto load a Tree Root Node async from a DB
    By DaFeivel in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 25 Jul 2007, 1:40 PM
  4. Replies: 7
    Last Post: 21 Jan 2007, 5:57 PM

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