Results 1 to 3 of 3

Thread: TreeStore reloads all data when expanding item

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    28

    Default TreeStore reloads all data when expanding item

    Hi there,
    i have two-column treegrid, my json is allmost similar to treegrid.js example. Treegrid can not display children and when expanding item, it shows all repeated root elements again. When i set expanded: true in .json file it causes data loading recursion. How to simply load once whole tree data?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716

    Default

    Please provide your JSON sent to your tree.
    Are you setting leaf: true on your end nodes?

    Scott.

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    28

    Default

    I get rid off api: { ... } block in proxy definition which was copied from example code and problem solved. Dont know, why tree allways was loading on expanding, maybe some config var used by default. Still so much mystery on everything here for me :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •