checkbox value false on edited row

3 posts, 1 answers
  1. Gone2TheDogs
    Gone2TheDogs avatar
    62 posts
    Member since:
    May 2016

    Posted 07 Jun 2017 Link to this post

    I have a grid with a checkbox column. If a user marks the checkbox and then clicks on the "Save" button, I'm pulling the value of the checkbox, but it returns FALSE. It seems like the row is not being committed even when I have left the grid. What is trick for this?

    (see screenshot)

     

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3530 posts

    Posted 08 Jun 2017 Link to this post

    Hello Bob, 

    Thank you for writing.  

    The GridViewCheckBoxColumn.EditMode property controls when the value of the editor will be submitted to the cell. By default, the current behavior is kept (OnValidate) and the value will be submitted only when the current cell changes or the grid looses focus. The new value (OnValueChange) will submit the value immediately after the editor value changes. Set the EditMode property to OnValueChange and the new values will be committed immediately.

    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Progress Telerik
    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. Gone2TheDogs
    Gone2TheDogs avatar
    62 posts
    Member since:
    May 2016

    Posted 09 Jun 2017 Link to this post

    Great explanation. Thank you, Dess!

     

     

Back to Top