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

Edit Ended dont start edit of next row

2 Answers 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Benedikt
Top achievements
Rank 3
Iron
Iron
Iron
Benedikt asked on 18 Aug 2020, 01:15 PM

Hey,

I have a few RadGridViews with editable data.
If someone now edits a value and commits the changes with the Return key, it does save the changes as expected. But also it jumps to the next row and starts the edit of the same column in this row.

Is it possible to disable this behaviour? So it may jump to the next row, but not starts the Edit Mode on it?

 

Greetings

Benedikt

2 Answers, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 21 Aug 2020, 08:00 AM

Hello Benedikt,

The answer is Yes, you can customize this behavior. What you will need to do is to create custom keyboard command behavior. I would sugged checking the Keyboard Command Provider help article in our documentation, which includes code snippet. In a few words, in the ProvideCommandsForKey method, you can check the currently pressed key and add which commands should be executed afterward.

Give this approach a try and let me know if further questions arise.

Regards,
Dinko
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/.

0
Benedikt
Top achievements
Rank 3
Iron
Iron
Iron
answered on 21 Aug 2020, 08:40 AM

Hi Dinko,

thanks for that quick and easy solution :)

 

Greetings Benedikt

Tags
GridView
Asked by
Benedikt
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Benedikt
Top achievements
Rank 3
Iron
Iron
Iron
Share this question
or