This is a migrated thread and some comments may be shown as answers.

Rapid entry of new rows

1 Answer 18 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David A.
Top achievements
Rank 1
David A. asked on 16 Mar 2011, 07:38 AM
Greetings,

After adding a new row, how can I place the cursor in the first column in the new row position?  I have tried the following but it doesn't work:

private void gv_UserAddedRow(object sender, GridViewRowEventArgs e)
       {
           gv.CurrentRow = gv.MasterView.TableAddNewRow;
           gv.CurrentColumn = gv.Columns[0];
           gv.BeginEdit();
       }

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 22 Mar 2011, 09:28 AM
Hello David A.,

Thank you for writing.

It seems that described scenario cannot be implemented with the current version of RadGridView. We will improve the current events to allow you to easily create the desired behavior in one of our next releases.
 
I have updated your Telerik points for bringing this issue to our attention. Let me know if you have any additonal questions.

Kind regards,
Martin Vasilev
the Telerik team
Tags
GridView
Asked by
David A.
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or