Is there any way to sort tree at client side using extjs?
As per requirement, I have to put two options below TreePanel.
My tree is like this
Options are:Code:Root Child 1 pqr xyz abc Child 2 xyz abc pqr
1. Sort by Name
2. Sort by Count
When user press on Sort by Name, all the nodes should be sorted by name and tree should be like below.
That means, I dont want to sort Child 1 and Child 2.Code:Root Child 1 abc pqr xyz Child 2 abc pqr xyz