This is a migrated thread and some comments may be shown as answers.

Sort children as well

1 Answer 72 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
kevin
Top achievements
Rank 1
kevin asked on 07 Jan 2015, 07:48 AM
In this example, sort only works on the top hierarchy. Is it possible to sort the children too, such that after clicking "sort descending", you end up with

Item 3
Item 2
Item 1
  Item 1.3
  Item 1.2
  Item 1.1

?

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 09 Jan 2015, 08:18 AM
Hello Kevin,

Basically, each node that has child items contains a separate DataSource instance, which should also should be sorted in order to get that behavior.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
TreeView
Asked by
kevin
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or