Reg: Maintaining the order of tree view nodes

3 posts, 1 answers
  1. Vikram
    Vikram avatar
    3 posts
    Member since:
    Feb 2014

    Posted 03 Feb 2014 Link to this post

    Hello, 

    Is there any way I can control the order in which the items appear in tree view . 

    Is there any function in Kendo which lets me control it 

    Thanks 
  2. Answer
    Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 07 Feb 2014 Link to this post

    Hello Vikram,

    The items in the TreeView are displayed the same way they are sorted by the dataSource, and also any change applied to the dataSource will cause the TreeView to redraw. How to sort a dataSource is covered here:

    http://docs.telerik.com/kendo-ui/api/framework/datasource#methods-sort

    Or you sort it initially like pretty much the same way:

    http://docs.telerik.com/kendo-ui/api/framework/datasource#configuration-sort

    Kind Regards,
    Petur Subev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vikram
    Vikram avatar
    3 posts
    Member since:
    Feb 2014

    Posted 07 Feb 2014 in reply to Petur Subev Link to this post

    Thank you for the reply . 
Back to Top