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

DataSource Export - dynamic columns based on data source

1 Answer 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 04 Aug 2017, 08:15 PM

We want to customize the DataSource Export so that it will work against any datasource regardless of the number of columns.

In the example, the cells and columns are hard coded.  We want to modify the example to read the datasource and dynamically generated the bolded sections below.

See attached.

Any ideas would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 08 Aug 2017, 02:18 PM
Hello Michael,

I used one of our demos which shows how to create a grid with dynamic columns and prepared a runnable demo that shows how to create a dynamic Kendo UI Workbook and Excel export from a data source:

http://dojo.telerik.com/@bubblemaster/EdiLIZ

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
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
Michael
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or