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

Edit Cells on Double-Click in Grid

3 Answers 736 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anbananthan
Top achievements
Rank 1
Anbananthan asked on 14 Mar 2018, 04:38 AM

 

I have found the expected behavior in the following link

https://docs.telerik.com/kendo-ui/knowledge-base/grid-edit-cell-on-double-click

here the issue is , when i do changes in on cell (cell-1) and double click on the another cell (cell-2 may be another row) , the changes are not retaining in edited cell (cell-1).  Could you please suggest the method or event to call to retain the changes. 

 

 

3 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 15 Mar 2018, 01:48 PM
Hello Anbananthan,

The Grid in the example has selection enabled. That feature introduces additional logic related with the click event and that can interfere with the custom implementation that is featured in the example. 

In order for the Grid to behave as you describe I would suggest removing the selectable option. 


Give the example a try and let me know how it works for you.

Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Anbananthan
Top achievements
Rank 1
answered on 19 Mar 2018, 06:23 AM

Hi,

Thanks for your suggestion, But we have the functionality for multi select option to move the selected row(s) to another grid.

We fixed now....

Before we have the Grid in conditional based edit option based on the user role and we enabled the edit cell.

Now we made grid as editable true & calling the grid.closeCell(cell) event on k-edit-cell leave event to resolve this scenario.

 

Thank You.

0
Viktor Tachev
Telerik team
answered on 19 Mar 2018, 11:55 AM
Hi Anbananthan,

I am glad that you have the feature up and running. Thank you for sharing your approach for handling the scenario. This can help someone looking for similar feature. 

In case you have additional queries do not hesitate to contact us again.

Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Anbananthan
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Anbananthan
Top achievements
Rank 1
Share this question
or