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

Excel export of multiple detail levels

3 Answers 900 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bjørn Tore
Top achievements
Rank 1
Bjørn Tore asked on 17 Jan 2016, 07:52 PM

Hi.

I have a Kendo Grid with two detail levels.

  • Main row (top level)
  •    Details
  •       Details of details

Using this example I am able to export the "Main row" along with the "Details" row. But I am having a hard time exporting the "Details of details" row. I know it should be possible using the approach in the example, but cannot seem to shuffle the code "the right way". Has anyone done this before, and can provide an example?

 

Thanks.

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 Jan 2016, 07:26 AM
Hi Bjørn,

I am afraid we don't have an example for three-level hierarchy export, but the routine should be similar to the one in the existing how-to example. The differences are:

- you will need export promises for both detail levels
- the master Grid will wait for all second-level Grids (i.e. first-level detail Grids) to export, and each second-level Grid will have to wait for its third-level Grids (second-level details) to export
- you will need to prepend two cells to the third-level Grid rows.
- when second-level rows are inserted between the master rows, you will also need to insert the third-level rows after each second-level row.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Saquib
Top achievements
Rank 1
answered on 23 Jan 2017, 03:03 PM

Hello Dimo,

Would you please be able to create a demo for us?

Thank you!

0
Dimo
Telerik team
answered on 24 Jan 2017, 02:57 PM
Hi Saquib,

Here is an example linked in StackOverflow:

http://stackoverflow.com/questions/34840075/excel-export-of-telerik-kendo-grid-with-multiple-detail-levels

http://dojo.telerik.com/AVOjE

The existing two-level hierarchy demo shows all the involved relevant APIs and techniques for such scenarios. The creation of a 3+ level hierarchy scenario does not require any additional Kendo UI - related knowledge, only more complex algorithms. From this point of view, I can recommend our Professional Services for consulting and development assistance with regard to such custom use cases. Please let us know if you would like to benefit from their expertise at any time and we will arrange someone to get in touch with you.

On the other hand, you can rely on our support service for information and examples related to our APIs and built-in features.

Regards,
Dimo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Bjørn Tore
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Saquib
Top achievements
Rank 1
Share this question
or