Shift focus to down cell on Enter key press on tree list

1 Answer 101 Views
TreeList
Amol
Top achievements
Rank 1
Amol asked on 09 May 2022, 12:38 PM

I have a requirement where when I am editing in the cell and hit enter the cell focus should be shifted to the down cell just like the MS Excel does.

 

Does Tree list support it?

 

Many thanks

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 11 May 2022, 08:17 AM

Hello Amol,

The KendoReact TreeList in-cell editing opens cells for editing only on click, but it is possible to apply custom logic and handle the onKeyDown event of the TD elements and manually open the cell on the next row for editing. Here is a simple example demonstrating how to attach the onKeyDown to the TD elements and how to move the edit:

You can further customize the behavior based on your exact requirement. 

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
TreeList
Asked by
Amol
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or