Export to excel Treelistview with Filter And Sort applied

3 posts, 0 answers
  1. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 13 Oct 2011 Link to this post

    Hi
    How can i export the treelistview data to excel with all the FilterDescriptor and SortDescriptor applied. I have tried to export with ItemsSource, but it does not mantain the states like sort or filter. It only returns me the full source. Also I need to export all the elements to excel, not like which are expanded only. Please help me

    Thanks
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 13 Oct 2011 Link to this post

    Hi,

     You do not need to do anything special - this will work by default since it will use Items collection. 

    All the best,
    Vlad
    the Telerik team

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

  3. UI for WPF is Visual Studio 2017 Ready
  4. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 13 Oct 2011 Link to this post

    Thanks a lot Vlad for your quick reply.

    Yes, I understand that it can be easily achieved with Items Collection which I also have mentioned in my previous post. Even this will also work if any Filter is applied. In this case I will show all the filtered items from TreeListView.Items.

    But if only Sort is applied then in that case I will show all the items even though not in expanded state. So in this case the Items Collection is not working. Please help me

    Thanks
Back to Top