Adding a row at any index

2 posts, 0 answers
  1. Shivam
    Shivam avatar
    4 posts
    Member since:
    Jan 2012

    Posted 27 Jun 2012 Link to this post

    i am able to add new row only before first row or after last row of the grid.

    Can we add a row at any index in the gridview using default add button of the gridview?
    for example: we have 5 rows in the gridview and we want to add a row at the 3rd position.

    Please help...
  2. Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 02 Jul 2012 Link to this post


    To guarantee the position of an element  displayed in RadGridView you may have the elements sorted (adding a SortDescriptor).
    The when adding the new element you shall set the index you sort by and the element will be positioned at the right place .

    Kind regards,
    Pavel Pavlov
    the Telerik team

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

Back to Top