Page 1 of 1

Expand All / Collapse All

Posted: Tue Mar 23, 2021 1:26 pm
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

Re: Expand All / Collapse All

Posted: Tue Mar 23, 2021 8:41 pm
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.

Re: Expand All / Collapse All

Posted: Wed Mar 24, 2021 1:30 pm
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?

Re: Expand All / Collapse All

Posted: Thu Mar 25, 2021 9:22 am
by Lech Kulikowski
Hello,

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

Thank you.