Focus on cell instead of edit mode in RadGridView.

1 Answer 27 Views
GridView
Shubham
Top achievements
Rank 1
Iron
Shubham asked on 05 Jan 2022, 01:09 PM | edited on 05 Jan 2022, 04:54 PM
I have a RadGridView which contains several GridViewTextBoxColumn .
When a cell is in edit mode , if I click on another cell it goes in edit mode directly (instead of getting focussed).
How do I make sure that when I click on another cell it only focuses and goes into edit mode only on another click.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 Jan 2022, 01:05 PM
Hello, Shubham,

When the grid is in edit mode and the user navigates to another cell either by pressing Tab or by clicking a cell, the editor will be activated for the new current cell (if the BeginEditMode property value is not BeginEditProgrammatically). The whole editing lifecycle is described here:
https://docs.telerik.com/devtools/winforms/controls/gridview/editors/editing-lifecycle 

I would recommend you to set the BeginEditMode property to BeginEditProgrammatically and fully control when to enter edit mode by calling the BeginEdit method.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Shubham
Top achievements
Rank 1
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or