how to hide section when export to excel

Asp.net core 5, fastreport.net project

when export to excel, how hide some section, like page header?

i saw there is exportable and printable property, but seems not working

Thx

Comments

  • Hello!

    Please ensure that Exportable = false is set on the PageHeader band itself (or on each TextObject within it) before calling Prepare()/Export() (or in the BeforePrint script when checking the export type), rather than on a third-party object; the Printable = false property only disables printing to a printer, but does not disable exporting.

This discussion has been closed.