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

Excel with different datasource

1 Answer 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kahl
Top achievements
Rank 1
Kahl asked on 31 May 2017, 04:00 AM

I have a grid (MVC) that displays a summary list, but when I Export to Excel I would like to use a different datasource that has detail information

when I use the ProxyUrl, it still takes the gridDatasource  and when I use forceProxy(true)  the post api method is called and data is retrieved, but I get the error

This XML file does not appear to have any style information associated with it. The document tree is shown below.
     

Currently I am returning a model,   but this seems to need to be some sort of Styling formatting to convert into a excel file to open.

 

What do I return in the API to allow the List<model> to open in Excel

 

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 01 Jun 2017, 01:16 PM

Hello,

I believe that what you are looking for is the Server-side Excel export project. Using server-side code allows the developer full control over the final output.

Regards,
Boyan Dimitrov
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
Kahl
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or