Posted 5 April 2021, 6:06 pm 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 5 April 2021, 6:06 pm EST
Posted 5 April 2021, 6:06 pm 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 11 April 2021, 11:25 pm 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