This is a migrated thread and some comments may be shown as answers.

Toggle Visibility Action with Multiple Groups

7 Answers 254 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sergei
Top achievements
Rank 1
Sergei asked on 19 Feb 2014, 05:26 PM
Hi, I'm trying to create a report with multiple collapsible groups but can't figure out how to hide the details when the parent group is collapsed. For example, the report could look like this:

Group 1 Header
  Group 2 Header
    Details

Using the Toggle Visibility Action, if I set the target of Group 1 Header to Group 2 Header, and Group 2 Header to Details, I'm able to expand the Group 1 Header, and Group 2 Header correctly. However, collapsing the Group 1 Header after expanding both sections only hides the Group 2 Header and leaves the Details section visible.

I've tried setting the targets for Group 1 Header to both Group 2 Header and Details, but that seems to break the expanding functionality as Group 2 Header is never shown when you expand Group 1 - you just see the Details section as if Group 2 isn't there.

Attached is an illustration of the issue.

Is there a way to accomplish this functionality? I'm currently using Telerik Reporting Q2 2013 (7.1.13.612).

7 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 19 Feb 2014, 10:12 PM
I ran into the same problem when I was creating an ad-hoc report designer for users.  We never found a way around it and had to instruct the users to close all sub groups before closing the parent group if they wanted the details to vanish as well.  I am very dissatisfied with the way it behaves.  There may be a way to handle it using Telerik, but I could not find it after a day of searching.  I tried all the same things you mentioned.

I hope someone is able to help you, as they will be helping me, too!
0
Nasko
Telerik team
answered on 24 Feb 2014, 01:29 PM
Hello,

This issue can happen when you set the Toggle Visibility action to target the Group Header Section instead of the group itself.

To resolve this issue set the Toggle Visibility action target to a specific group in the report. You can see the groups and their names in the Group Explorer window.

We created a sample report demonstrating the above approach. Please find the sample report definition in the attached file.

Regards,
Nasko
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Sergei
Top achievements
Rank 1
answered on 25 Feb 2014, 09:48 PM
OMG! That's exactly what I was missing. It works perfectly now, thanks so much!
0
Shane Woodruff
Top achievements
Rank 1
answered on 23 Mar 2015, 02:08 PM
After upgrading to the latest Telerik Reporting, I've discovered that when I toggle visibility of the detail section, it now expands the detail for all groups, and not just the one group. I'm hoping I don't have to update 100+ reports and add another group to simulate detail... Thanks!
0
Nasko
Telerik team
answered on 23 Mar 2015, 02:17 PM
Hello Shane,

The described issue was introduced with the 9.0.15.225 release of Telerik Reporting. The issue is now fixed and the fix will be released with the next official release of Telerik Reporting, which is scheduled for this week.

We apologize for any inconvenience this may have caused.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Shane Woodruff
Top achievements
Rank 1
answered on 23 Mar 2015, 02:23 PM
Is this fix part of internal build 9.0.15.313?
0
Nasko
Telerik team
answered on 23 Mar 2015, 02:31 PM
Hello Shane,

The fix is not included in the latest internal build.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Sergei
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Nasko
Telerik team
Sergei
Top achievements
Rank 1
Shane Woodruff
Top achievements
Rank 1
Share this question
or