Add New Row - Winforms GridView Event

34 posts, 0 answers
  1. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 27 Apr 2011 Link to this post

    Hi Stephen,

    Please open a new support ticket and send me a sample application that covers your scenario. This will allow me to review the API used and find the best solution for your case.

    Thank you in advance.

    Julian Benkov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  2. Stephen Breytenbach
    Stephen Breytenbach avatar
    4 posts
    Member since:
    Aug 2007

    Posted 04 May 2011 Link to this post

    Hi Julian,

    I have opened a new ticked, I have attached the Code that I use to Create the Master Child Grids as well as populate them, the Ticket Header is:

    RowIndex always -1 using Unbound Grid



  3. DevCraft banner
  4. fariba
    fariba avatar
    21 posts
    Member since:
    May 2014

    Posted 25 Jun Link to this post


    I am using hierarchical rad grid view

    and I adding Summary row and Adding new row in templates both of them an the bottom position

       grid.Templates[0].AddNewRowPosition = SystemRowPosition.Bottom;


           grid.MasterTemplate.Templates[0].SummaryRowsBottom.Add(new GridViewSummaryRowItem(new GridViewSummaryItem[]{
                        new GridViewSummaryItem("customerBankAccount_id", "{0:جمع }", GridAggregateFunction.Sum),
                        new GridViewSummaryItem("amountDetail", "{0}", GridAggregateFunction.Sum)
                grid.MasterTemplate.ShowTotals = true;
                grid.MasterView.SummaryRows[0].PinPosition = PinnedRowPosition.Bottom;


    both of them placed in bottom which in what I want.But the problem is the place of adding new row is at the bottom of summary row 

    which is not normal and I ewant to place summary row at the bottom ,under the adding row.Please let me to know, How can I solve this issue.


    Best Regards,


  5. Dess
    Dess avatar
    1561 posts

    Posted 29 Jun Link to this post

    Hello Fariba,

    Thank you for writing. 

    RadGridView allows you to reorder only the system rows: GridFilterRowElement, GridSearchRowElement, GridNewRowElement. The summary rows are placed along with the data rows. If you need to have a summary row at the bottom and the new row to be above it, you can use a simple data row that is pinned to the bottom. However, in this case, it would be necessary to calculate programmatically the summary value by using the ViewCellFormatting event for example and setting the Text property of the cell element.

    I hope this information helps. Should you have further questions I would be glad to help.

    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top