Expand All / Collapse All

Stimulsoft Reports.JS discussion
Post Reply
alex.coles
Posts: 14
Joined: Mon Feb 03, 2020 2:19 pm

Expand All / Collapse All

Post by alex.coles »

Sure this should be something simply, but we have a report with multiple-groups and levels of collapsing. By default we start everything collapsed, but user is requesting an easy way to expand all or collapse all groups for printing (must also be able to print 'as is' on screen also).
Am I missing something simple in this respect?

Stimulsoft.Reports.JS
Version: 2019.4.2
Build date: 2019.11.13
Stimulsoft.Reports.JS - Version: 2019.4.2 - Build date: 2019.11.13
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Expand All / Collapse All

Post by Lech Kulikowski »

Hello,

Do you need to expand/collapse by click or when the report is showing in the viewer?
If first - you can add a variable and use it in the collapse expression.

Thank you.
Attachments
ReportCollapse.mrt
(776.67 KiB) Downloaded 141 times
alex.coles
Posts: 14
Joined: Mon Feb 03, 2020 2:19 pm

Re: Expand All / Collapse All

Post by alex.coles »

By user click.

The first method works great, but if a user has opened or closed a collapse then this no longer is controlled by the variable and no longer collapses or expands on user interaction. Any way around this?
Stimulsoft.Reports.JS - Version: 2019.4.2 - Build date: 2019.11.13
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Expand All / Collapse All

Post by Lech Kulikowski »

Hello,

Unfortunately, in that case, only expand all may be applied.

Thank you.
Post Reply