2 posts, 0 answers
  1. Jerome
    Jerome avatar
    87 posts
    Member since:
    Aug 2010

    Posted 06 Apr 2012 Link to this post

    I have a hierarchical RadTreeView, which I am trying to get sorted properly. The first level items need to be sorted by a binding expression, and the second level items need to be sorted by a different binding expression.

    Can you refer me to some samples on how to do this?
  2. Hristo
    Hristo avatar
    352 posts

    Posted 10 Apr 2012 Link to this post

    Hi Jerome,

    The best approach for sorting a TreeView would be to sort the collection of items you are binding to.
    There are several approaches depending on the use case.
    You could check if CollectionViewSource would fit into your scenario. It is a wrapper around the actual data providing API for sorting and filtering.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top