Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
Grid Excel Export PageSetup
posted

Hi,

I want to export the grid content to a excel file and I used the class Workbook and UltraGridExcelExporter to do this. And I want to set the PageSetup for the workbook. I found I could do this like this:

workbook.WindowOptions.SelectedWorksheet.PrintOptions.Header = this._reportName + " " + "&[Page] of &[Pages]";

 

Actually I want to set the "left header", "middle header" and "right header" in the print preview. The excel com classes provide these options. Please check:http://devcenter.infragistics.com/Articles/ArticleTemplate.Aspx?ArticleID=2148

But I can't achieve this by infragistics excel export functions. Please help.

 

thanks