Toggle Visibility Action with Multiple Groups

8 posts, 0 answers
  1. Sergei
    Sergei avatar
    2 posts
    Member since:
    Jan 2012

    Posted 19 Feb 2014 Link to this post

    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).
  2. Chris
    Chris avatar
    1 posts
    Member since:
    Oct 2012

    Posted 19 Feb 2014 in reply to Sergei Link to this post

    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!
  3. Nasko
    Admin
    Nasko avatar
    1067 posts

    Posted 24 Feb 2014 Link to this post

    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.

  4. Sergei
    Sergei avatar
    2 posts
    Member since:
    Jan 2012

    Posted 25 Feb 2014 Link to this post

    OMG! That's exactly what I was missing. It works perfectly now, thanks so much!
  5. Shane Woodruff
    Shane Woodruff avatar
    9 posts
    Member since:
    Mar 2010

    Posted 23 Mar 2015 Link to this post

    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!
  6. Nasko
    Admin
    Nasko avatar
    1067 posts

    Posted 23 Mar 2015 Link to this post

    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.

     
  7. Shane Woodruff
    Shane Woodruff avatar
    9 posts
    Member since:
    Mar 2010

    Posted 23 Mar 2015 in reply to Nasko Link to this post

    Is this fix part of internal build 9.0.15.313?
  8. Nasko
    Admin
    Nasko avatar
    1067 posts

    Posted 23 Mar 2015 Link to this post

    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.

     
Back to Top