Expand individual row group item on the second level OnLoad

2 posts, 0 answers
  1. Art
    Art avatar
    1 posts
    Member since:
    May 2012

    Posted 08 Feb 2014 Link to this post

    HI,

    I have a Pivot grid with three row groups broken down by Category (1st level), Year (2nd), and Description (3rd).  I have three years (2014,2013,2012) for the Year row groups which is on the second level, but I only want to expand 2014 programmatically on the initial load, and keep 2013 and 2012 collapsed.   I looked at the reference commonly sited here but I only see how that works for the first level groupings, not the second level groupings.

    I thought perhaps if I did this in OnLoad:

    PivotGrid1.CollapsedRowIndexes.Add(new object[] { "2014" });

    it would open the only 2014 on the second level, and "force" the first level open, but that didn't work.

    I also tried opening the first level in OnLoad and then expanding one item in the second level but that didn't work either.

    PivotGrid1.ExpandAllRowGroups(0);  //Category
    PivotGrid1.CollapsedRowIndexes.Add(new object[] { "2014" });


    So is there any way I can do this programmatically, or is this not supported?


  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 13 Feb 2014 Link to this post

    Hi Art,

    Unfortunately the required functionality is still no supported int he RadPivotGrid control. You could log your requirements in the feedback portal below:

    http://feedback.telerik.com/project/108

    Regards,
    Maria Ilieva
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top