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
50
hiding gridcolumns when exporting to excel
posted

Hi.

I'm playing with the WinGridDocumentExporter and I'm somewhat puzzled. I have a ultragrid on which I hide some columns usingthe ColumnChooser. Next I export the UltraGrid with the DocumentExporter to a pdf file. I was somewhat surprised to see all columns since the export to Excel only exports the visible columns. I read that I can use the UltraGridDocumentExporter1_BeginExport event to change the layout. How can I retrieve the visible columns in the UltraGrid that I want to export? The e.layout is a clone of the GridLayout but I can't retrieve the visible columns. I'm I overlooking something?

 Cheers,

Frank