Report with dynamic layout using List

Posted by: brandon.lusk on 18 September 2023, 12:48 pm EST

    • Post Options:
    • Link

    Posted 18 September 2023, 12:48 pm EST

    Is it possible to create this report using ActiveReportsJS? We have been able to create the portion of the report consisting of 3 column rows using the List control. But we have a requirement to have an alternative layout of one full width column based on a certain data element on the record. So if this “ItemType” data element was “Assortment” then we would show the full width column otherwise we would show in the 3 column row layout.

  • Posted 18 September 2023, 5:51 pm EST

    Hi Brandon,

    To achieve your requirement you can place your two tables (one with a full-width column and one with 3 column layout) in two different containers and assign an expression to the container’s hidden property to hide the 3-column layout if the ‘ItemType’ is ‘Assortment’ or hide the full with Column if it is not.

    Please find attached a sample implementing the same.

    Regards,

    Anand

    SampleARJS.zip

  • Posted 19 September 2023, 1:11 am EST

    I may not explain this well but the problem is we are needing to use the List control for displaying the records in across then down blocks so hiding and showing the List container would affect more than just the one record. I see how it could work using a table with a row and columns representing data elements of the one data row. But in this case certain record types would need to go across/down in blocks and then certain record types would need to start a new full width row

  • Posted 19 September 2023, 8:14 pm EST

    Hi Brandon,

    We are not sure we are able to fully grasp the type of layout you are having, could you please share a sample showing the layout of your report and demonstrating your requirement so we could further assist you in the same?

    Regards,

    Anand

Need extra support?

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

Learn More

Forum Channels