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

How can I edit cells on double-click in an editable Grid when selection is enabled?

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shyam
Top achievements
Rank 1
Shyam asked on 11 Nov 2019, 02:29 PM

Hi i am evaluating the grid for a development.

One of the requirements i have is to have a multi row selection and inline edit. (will be going into cell inline mode on double click)

I found this great article of yours

https://github.com/telerik/kendo-ui-core/blob/master/docs/knowledge-base/grid-edit-cell-on-double-click.md

where it looked it was exactly what i was looking for but it looks like that when there is a numeric editor it doesnt work. I double click the cell, the editor appears and immediately hides, i have updated one of your grid examples (the editing-custom.html) and attached it.

Would be great to have some feedback on it, to have a proper evaluation as this is a must have.

 

Kind regards,

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 13 Nov 2019, 01:42 PM

Hello Shyam,

 

Thank you for reporting the behavior to us.

In order to avoid the numeric editor from closing the cell I suggest adding an additional condition before calling closeCell. With that said, if you would like to have multi row selection enabled in the Grid as well I recommend using checkbox selection. This way the selection and editing behavior would not interfere with one another.

Check out the updated sample below that illustrates the approach:

https://dojo.telerik.com/OBatESOq

 

Regards,
Viktor Tachev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Shyam
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or