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

Set Column in Focus after RadGridViewCommands.BeginInsert

2 Answers 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Golden
Top achievements
Rank 1
Golden asked on 02 Feb 2012, 03:00 PM
Hi,

I have a RadGridView where I add new rows using a button command wired to RadGridViewCommands.BeginInsert, which works great - I get the new row added to my model.

The only thing I would like to change is the column in focus. Because when the new row is added the column which was last edited is focus is editable in the newly added row.

Kind regards

Lars

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 02 Feb 2012, 03:27 PM
Hi Lars,

You could change the CurrentColumn to be the desired column when the AddingNewDataItem event of the RadGridView is raised. 

Greetings,
Didie
the Telerik team

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

0
Golden
Top achievements
Rank 1
answered on 02 Feb 2012, 11:17 PM
Thanks Didie, that did it the trick.
Tags
GridView
Asked by
Golden
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Golden
Top achievements
Rank 1
Share this question
or