HTML 5 - Expand all groups as a command or action

4 posts, 0 answers
  1. Christiaan
    Christiaan  avatar
    8 posts
    Member since:
    Apr 2014

    Posted 02 Dec 2017 Link to this post

    I have created a report with groups. In the designer, I have done the following

    Group, Action = Toggle Visibility

    Details, Visible = False

     

    So when the user opens the report, it will show with collapsed groups, which is what I want. However I want to give the user the ability to expand all groups instead of clicking manually on the "+" icons one-by-one. 

    Is that possible?

  2. Silviya
    Admin
    Silviya avatar
    161 posts

    Posted 06 Dec 2017 Link to this post

    Hi,

    You would have to add/choose the report item that would trigger that drill-down action and set the row/column groups you would like to be affected as a Targets.
    Please refer to the attached sample report, which is using Toggle Visibility action for all table groups.

    Regards,
    Silviya
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Christiaan
    Christiaan  avatar
    8 posts
    Member since:
    Apr 2014

    Posted 07 Dec 2017 Link to this post

    The grouping already works correctly. My question is whether I can run code on the web client to expand all the groups, so that the user doesn't have to expand each group manually to get the full overview.

    I get an exception btw when I try to open the report. See attachment for the error. I use v 11.1.17.614

     

     

  4. Silviya
    Admin
    Silviya avatar
    161 posts

    Posted 07 Dec 2017 Link to this post

    Hi Christiaan,

    Check the attached report that can be opened with version 11.1.17.614.

    Note, that in TextBox with "(USD IN THOUSANDS)" value, a new action is included which triggers all groups to be expanded at once. That Toggle visibility action includes as targets each row group and column group. 
    For your convenience, I'm attaching screenshots illustrating the behavior.

    The same interactivity will be observed when you view this report in Report Viewer in the browser.


    Regards,
    Silviya
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top