Export to Excel
Please make sure each of the following is true before submitting a new issue. We are a small team with limited time and it is very difficult to manage issues if they aren't reported correctly.
- [ ] This is a bug report, not a question on how to use the grid.
Use Stack Overflow or Gitter for questions. - [ ] You have searched the open issues to see if this bug has been filed before. We don't want duplicate issues.
- [ ] You have reviewed the tutorials and documentation to ensure you are using the grid correctly. ui-grid.info
- [ ] You are using the latest version of the grid. Older versions are not patched or supported.
- [ ] You have provided steps to recreate your bug. A plunkr is even better.
Not able to export excel as rendered in the grid, I mean, we have grouped data in grid, and we want the same grouping to be exported to excel too
Please prepare an example and I can look at it. Use punkr or jsfiddle to illustrate your issue.
So I was able to see it by looking with the All Features tutorial (http://ui-grid.info/docs/#!/tutorial/401_AllFeatures) and from what I observer, although the group row headers themselves are not exported, the data is sorted in a grouped manner. @sangramMCP Do you require the group header rows?
Hi All,
I want to generate the grid as demonstrated in the example:
http://embed.plnkr.co/fsJdENoN1ll4FUGsPzts/
And At the same time I need to export the header as well as super headers both in the excel.
Is that possible in Angular grid? If yes, Is there any example/sample code to illustrate the same.
Thanks, Sangram
I don't believe that is possible off the shelf. That would be an enhancement.
Take a look at this example
http://ui-grid.info/docs/#!/tutorial/410_excel_exporting_data_and_header
The excelExportHeaders setting takes a function that allows you to do whatever you want for an export header.