Editting rows with locked columns

4 posts, 0 answers
  1. Jeff
    Jeff avatar
    20 posts
    Member since:
    Jan 2017

    Posted 06 Mar 2017 Link to this post

    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!

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1263 posts

    Posted 08 Mar 2017 Link to this post

    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.
  3. Jeff
    Jeff avatar
    20 posts
    Member since:
    Jan 2017

    Posted 09 Mar 2017 Link to this post

    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.     

  4. Dimo
    Admin
    Dimo avatar
    8471 posts

    Posted 13 Mar 2017 Link to this post

    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.
Back to Top