1. #1
    Sencha Premium Member tempvalue's Avatar
    Join Date
    Apr 2012
    Location
    istanbul
    Posts
    22
    Vote Rating
    0
    tempvalue is on a distinguished road

      0  

    Default TreePanel Loading huge amount of data in one level

    TreePanel Loading huge amount of data in one level


    Hello guys,

    I am using on demand tree loading in my treepanel. However, in some cases, there are a huge amount of tree nodes(at least 300) coming from JSON in one level when i expand the folder. I am planning to apply the following solution but it would be good to hear your comments about the solution and also other alternative ways.(such as treepanel paging which is an already opened topic in the forum but not updated since 2009.)

    My solution:
    1)Load first 50 nodes and put load next 50 button at the end of tree. Whenever user clicks this button, next 50 will be loaded instead of first 50. There can also be a load previous 50 button.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,007
    Vote Rating
    459
    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


    If this solution works for you, then I would say it is fine.

    Scott.

Thread Participants: 1

Tags for this Thread