Results 1 to 2 of 2

Thread: TreePanel Loading huge amount of data in one level

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

    Default 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,390
    Vote Rating
    498
      0  

    Default

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

    Scott.

Tags for this Thread

Posting Permissions

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