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

[Solved] Detail grid data in second page not getting exported

1 Answer 143 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rajish
Top achievements
Rank 1
Rajish asked on 24 Apr 2015, 04:05 PM

Hi, 

I came across an issue while exporting detail data to excel. The detail grid data starting from the 2nd page is not getting exported. 

I made the following changes to the example provided in http://docs.telerik.com/kendo-ui/web/grid/how-to/Excel/detail-grid-export

a. To expand all master rows when the grid is loaded, i removed the "first" option in the databound function as follows :- 

this.expandRow(this.tbody.find("tr.k-master-row"));

b. To export data in all pages, add the "allPages" property to the master grid:-   

excel: { allPages: true }

After making these changes, the master and detail data in the first page gets exported fine; but starting from the second page only the master data is getting exported.  Please let me know how I can get to export the detail grid data in all pages.

Thanks,

Rajish Sajayan

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 28 Apr 2015, 04:15 PM
Hi Rajish,

Please check the updated example which exports the detail grids for all pages:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Rajish
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or