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
165
Using of AppearancePropFlags for export in excel
posted

Hello,

In infragistics of version 6.1 I used public and not static field UltraGridExcelExporter.ExcelRelevantPropFlags for manage of style excel document.

But now this field is changed to constant.

Could you recommend me the way, I should use to ignore some properties (those are in enum AppearancePropFlags) of appearance for export UltraGrid to excel?

Roman

Parents
No Data
Reply
  • 48586
    posted

    Hello Roman,

    We have cheeked the code of UltraGridExcelExporter back to 2004th and ExcelRelevantPropFlags was always defined as “public const AppearancePropFlags ExcelRelevantPropFlags”. So if you use it as a property I assume that you have rebuild our source make this constant  as a public property. Meanswhile as a workaround we could suggest you to handle BeginExport event and use the e.Layout property of the argument (it returns you cloning of grid layout which will be used for exporting) and to reset needed appearance.

     

    Please let me know if you have any further questions.

Children