Posted 6 April 2021, 3:06 am EST
Hello All,
have you an idea to hide a part when I print the report (For example : the details panel) if this panel has not value ?
Regards,
Greg
Forums Home / ComponentOne / WinForms Edition
Posted by: gregory.sevrin on 6 April 2021, 3:06 am EST
Posted 6 April 2021, 3:06 am EST
Hello All,
have you an idea to hide a part when I print the report (For example : the details panel) if this panel has not value ?
Regards,
Greg
Posted 12 April 2021, 8:25 am EST
Hi Greg,
In bound mode, if your data source has no records then the details section will not be printed by default. If you want to hide a section based on some criteria then you can use the StartSection event and set the visible property of the section according to your requirements.
https://www.grapecity.com/componentone/docs/win/online-flexreport/C1.Win.FlexReport.4.5.2~C1.Win.FlexReport.C1FlexReport~StartSection_EV.html
Regards.
Avnish