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
265
DataPresenterExcelExporter does not export collapsed columns
posted

Hi,

I'm using Xamdatagrid (v9.2) and ExcelExporter (v9.2) to export the grid data to excel. I need to export some of the hidden columns in the grid to excel. I've tried the following two approches.

 1. Set the ExportOptions.ExcludeRecordVisibility = true, before calling ExcelExporter.Export.

2. Handle the BeginExport event of the ExcelExporter, and set the visibility of the collapsed columns to Visible explicitly in the event handler.

e.g. e.DataPresenter.FieldLayouts[0].Fields[0].Visibility = Visibility.Visible;

Neither of the above worked, and only visible columns were exported in both cases.

Please advise how I can get hidden columns to be exported?

Thanks,

Tess

Parents
No Data
Reply
  • 30945
    Offline posted

    Hello,

     

    We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.

    You can download the Service Releases by logging to our web site and going to My IG \My Keys and Downloads.

     

    Thank you for using Infragistics Components.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

Children
No Data