GroupHeaderBand and export to Excel
Re: GroupHeaderBand and export to Excel
Hi,
Please find attached an upgraded version.
Hope you can work with it.
Thanks.
Please find attached an upgraded version.
Hope you can work with it.
Thanks.
- Attachments
-
- NewTest.zip
- (4.87 MiB) Downloaded 152 times
Re: GroupHeaderBand and export to Excel
Hello.
We have made some changes in your report template.
It works as expected. Thank you.
We have made some changes in your report template.
It works as expected. Thank you.
Re: GroupHeaderBand and export to Excel
Hello,
It works great when printing, thanks. But when exporting to Excel, the header is displayed every time, it cuts the list in several parts. Even if I choose the option "Print one header and footer" in the Excel export form. I would like to have only one row of headings, just below the group details. See my example in previous post.
Have you tried to export your modified report to Excel? Is there another option I forgot?
thanks.
It works great when printing, thanks. But when exporting to Excel, the header is displayed every time, it cuts the list in several parts. Even if I choose the option "Print one header and footer" in the Excel export form. I would like to have only one row of headings, just below the group details. See my example in previous post.
Have you tried to export your modified report to Excel? Is there another option I forgot?
thanks.
Re: GroupHeaderBand and export to Excel
Hello.
Sorry, we forgot about the export.
Please, add next code to the Exporting event.
And to return headers use next code in Exported event.
It's no matter if the Use One Page Header and Footer option set or not.
Thank you.
Sorry, we forgot about the export.
Please, add next code to the Exporting event.
Code: Select all
GroupHeaderBand2.PrintOnAllPages = false;
this.Render();
Code: Select all
GroupHeaderBand2.PrintOnAllPages = true;
this.Render();
Thank you.
Re: GroupHeaderBand and export to Excel
Working like a charm!
Thank you for your help!
Thank you for your help!
Re: GroupHeaderBand and export to Excel
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.