Overlapping subreports migrating C1Report to FlexReport

Posted by: thomas.hayashi on 6 December 2019, 9:31 am EST

    • Post Options:
    • Link

    Posted 6 December 2019, 9:31 am EST

    I think it’s a similar scenario as this thread

    https://www.grapecity.com/forums/winforms-edition/migrating-c1report-to-flex

    I’m trying to convert a legacy C1Report to a C1FlexReport by importing the C1Report into the C1FlexReport Designer.

    I have a report that adds subreports dynamically on the fly: “2-exm_T3_T3”, “2-exm_T4_T4”, “2-exm_GLI_GLI”.

    I can successfully preview the report “0 - Laudos” using the C1Report Designer, however when I do the same using the C1FlexReport Designer, the subreports are overlapping each other.

    I’ve tried different approaches changing SplitBehavior ,SplitVertBehavior and AutoHeight properties of the fields without success.

    I could get a similar result adjusting the Height of the “Detail / SubSection 1” to an absurd huge value. However, as I said these subreports are dynamic and I think this is the wrong way to reach my desired layout.

    Can someone help me to adjust these overlapping subreports ?

    I’ll attach the report, the report data, prints and the versions I’m using on the zip file.

    Report_Overlapping.zip

    Thanks

  • Posted 9 December 2019, 2:36 am EST

    Hello,

    In FlexReport, the sections do not grow for unbound fields added at runtime, by default. User should set the C1FlexReport.BehaviorOptions.IncreaseSubSectionHeightToFitFields property to True.

    I have attached a FlexReport generated from your C1Report, that does not show the overlapped subreport fields, on setting this property for the reports in the report file.

    Regards,

    Esha

    Files.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels