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

Export to excel Treelistview with Filter And Sort applied

2 Answers 41 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 13 Oct 2011, 09:22 AM
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 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Oct 2011, 09:24 AM
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 >>

0
Manishkumar
Top achievements
Rank 1
answered on 13 Oct 2011, 10:08 AM
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
Tags
TreeListView
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Manishkumar
Top achievements
Rank 1
Share this question
or