View Full Version : How to add a pager to a treeview

5 Nov 2010, 6:04 AM
Hi everybody,

I'm using ExtJs 3.2.
I need to use a tree view to show parents and children but my problem is that I have 2 680 items (for the parents only)... Each parent can have 0 or N children.
It takes too many times to load the tree view the 1 first time with the 2 680 parents.
So I'm looking for a way to define page size on a tree view with a paging toolbar ? Does this behavior exists with a tree view ?
Thank's in advance for your answer.


5 Nov 2010, 6:38 AM
IIRC there is a paging extension for trees...

But IMHO you should reconsider your approach. Maybe enter a search string first before showing relevant nodes?

5 Nov 2010, 7:00 AM
Thank's for your answer.
By "IIRC" you mean "If I Recall/Remember Correctly".
You're right that using a search engine would solve the problem but the final user absolutely wants to see all parents nodes quickly (without writing anything). That's why I thought for a paging issue (only have to click to see previous or next and by that way I can limit page size).
I have searched for a paging extension but I don't find any.
Do you have in mind a link where I could look forward ?