I have a Grid with allowGrouping set to true.
How can I achieve an excel export that only shows the groupCaptionTemplate and footerTemplate when collapsed.
This is what the grid looks like:

This is what the export looks like:

How can I keep it collapsed on export.
Thanks.