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.