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

GridViewCell Focus

1 Answer 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gayathri
Top achievements
Rank 1
Gayathri asked on 21 May 2013, 09:09 AM
Hi 
 
I have a focus issue in the radgridview. I am trying to set focus on the 6th column of the radgridview,(Focus should set on the cell that is not Readonly). However i am not able to achieve this. I am unable to set the focus on 6th column where i have used combo box as cell edit template.i want that cell(which is the only cell which is not read only) to move to edit mode on a button click.Please note that am using MVVM pattern and i do not want to have a click event in code behind. I tried the following piece of code but i cant see the cell changing to combo box(i.e. Edit Mode).Kindly help.and also, i am not able to move the focus from 6th column to 2nd column on tab click.(Left to Right Focus change).

 
if (s.IsNewFileSet)

 

{

 

_BoxGrid.Columns[6].Focus();

_BoxGrid.BeginEdit();

 

 

}

}

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 24 May 2013, 08:00 AM
Hello,

I can suggest you to check this help article for a reference.

I hope this helps.

Regards,
Yoan
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Gayathri
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or