Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
795
Move row does not modify the ultradatasource of the grid
posted

  public void MoveRow(int rowIndex, int newIndex)
        {
            this.ultraGrid1.Rows.Move(ultraGrid1.Rows[rowIndex], newIndex);
        } 

I am using this method to move the rows in the grid by clicking the check box in the first column. When i append some rows to the grid, the moved rows come to the original position where it was there before moving it.

Problem is ultradatasource is not being updated while moving the rows inside the grid. So the ultradatasource will have original position and append rows just merely append below to it.

Kindly help me in this.