To reproduce, use the following code and afterwards check the CurrentRow.Index property:
this.grid.BeginUpdate();
GridViewDataRowInfo newRow = new GridViewDataRowInfo(grid.MasterView);
this.grid.Rows.Add(newRow);
this.grid.EndUpdate();
Workaround:
radGridView1.Rows.IndexOf(radGridView1.CurrentRow);
Hi Joao, you can use the suggested workaround for this case and get the correct index by using the IndexOf method of the Rows collection: radGridView1.Rows.IndexOf(radGridView1.CurrentRow);
Hi, is there any prevision for this correction ? It is a core functionality of gridview and a "stop show" for me.