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

How to export hierarchy grid to excel including collapsed rows?

1 Answer 764 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Grace
Top achievements
Rank 1
Veteran
Grace asked on 31 Mar 2020, 10:36 PM
I have a 3-level hierarchy grid and need to export all the data including collapsed rows to excel. I am following this demo http://dojo.telerik.com/ApaqOJuv. But it only export the expanded rows. How can I modify this solution so that it export all the data?

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 02 Apr 2020, 01:13 PM

Hi, Grace,

There are different ways that you may wish to target this task so it depends on the desired outcome.

One way could be to expand all of the hierarchy and then loop through the data source view. I am enclosing a sample Dojo to demonstrate this. Have a look and let me know what you think:

https://dojo.telerik.com/@bubblemaster/AVAvOhiw/4

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
Grace
Top achievements
Rank 1
Veteran
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or