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

Editting rows with locked columns

3 Answers 204 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 06 Mar 2017, 11:21 PM

I have a grid with 2 locked columns. When editing a cell, the parent TR element gets a class of 'k-grid-edit-row'. When done editing, or when the row is blurred, the k-grid-edit-row class goes away, except on the locked columns.

 

Here is a working example. http://dojo.telerik.com/iCoDo/2

 

How can this be fixed? seems like a bug to me.

 

Thanks!

3 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 08 Mar 2017, 08:01 AM
Hello Jeff,

Thank you for bringing this issue to our attention. It is logged, and you can expect a fix in a future release. The GitHub issue can be tracked in our public repository:

https://github.com/telerik/kendo-ui-core/issues/2872

Meanwhile you can use the following workaround:

Handle the Grid edit event, and attach a blur event handler to the input of the cell that is being edited, where you can remove the k-grid-edit-row class programmatically:

http://dojo.telerik.com/eVoyE/3

I am sorry for any inconvenience this might cause. I have also updated your Telerik points for helping us improve the quality of our product.

Regards,
Dimiter Topalov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jeff
Top achievements
Rank 1
answered on 09 Mar 2017, 08:11 PM

Thank you. I'm glad I could point you in the right direction.

Additionally, and perhaps related, I get some weird behavior when I have a locked cell with a dropdown editor. I don't have a need to have a dropdown editor in a locked column, so its not a concern for me. However, while experimenting, I noticed that the k-grid-edit-row class won't disappear from the non-locked columns.

Let me know if you would like more info.     

0
Dimo
Telerik team
answered on 13 Mar 2017, 12:50 PM
Hi Jeff,

Yes, you are right. I managed to reproduce this behavior and added some more information to the GitHub issue. Thank you.

Regards,
Dimo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 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
Jeff
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Jeff
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or