Recalculate group subtotals when row moved from one group to another?

3 posts, 1 answers
  1. shawn
    shawn avatar
    3 posts
    Member since:
    Apr 2011

    Posted 27 Sep 2011 Link to this post


    I have a radgridview (Q2 2011) in which I am grouping orders by production line.  When I move an order by changing the line number in the grid, the row correctly moves to the correct line grouping, however I need to be able to recalculate the subtotals for both the line group that it was removed from in addiition to the line group that it was added to.....I am trying to find the event that fires when the row is moved to another group in the group by definition.....any suggestions / examples are appreciated.

  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 30 Sep 2011 Link to this post

    Hello Shawn,

    There is no event like that,

    You could always handle the CurrentRowChanging event and check the old row and the new one if they belong to the same group and if not do what you need.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga

    Telerik WinForms MVP
  3. DevCraft R3 2016 release webinar banner
  4. Answer
    Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 30 Sep 2011 Link to this post

    Hello Shawn,

    RadGridView should internally handle this case. This is an issue and it is logged in our PITS. You can find the workaround for this case in the support ticket that you have opened about the same topic.

    Kind regards,

    Julian Benkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top