grid collapse/exand all groups

4 posts, 1 answers
  1. Dr.YSG
    Dr.YSG avatar
    210 posts
    Member since:
    Dec 2009

    Posted 18 Apr 2012 Link to this post

    I am looking for a method that would be called to toggle expand/collapse all groups (the grid has the attribute groupable).

    You have this in the Telerik Silverlight Grid.

  2. Bob
    Bob avatar
    12 posts
    Member since:
    Aug 2010

    Posted 19 Apr 2012 Link to this post

    You should be able to do:

    $(".k-collapse").click()

    and

    $(".k-expand").click()
  3. Kendo UI is VS 2017 Ready
  4. Answer
    Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 23 Apr 2012 Link to this post

    Hello Steven,

    This functionality is currently not supported out of the box, but you could achieve it by triggering the click event of the expand/collapse arrows as Bob mentioned.

    For convenience I made a small example to illustrate this approach in action.

    Kind regards,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  5. Dr.YSG
    Dr.YSG avatar
    210 posts
    Member since:
    Dec 2009

    Posted 23 Apr 2012 Link to this post

    Alexander,

    Thank you very much. BTW. I hope you saw that I closed out the support ticket about the dynamic chart aggregates that you were working on. In the rating, I included a letter of commendation to your supervisor, on what I consider completely superlative work.  I hope he sees it, but if not, I can regenerate it for you.


Back to Top
Kendo UI is VS 2017 Ready