Null value when empty text in editor in GridViewDecimalColumn

2 posts, 0 answers
  1. Amand
    Amand avatar
    25 posts
    Member since:
    Aug 2012

    Posted 23 Dec 2014 Link to this post

    I use a GridViewDecimalColumn where the value can be a double?. If the initial value is null, the cell is empty. When the user then enters a value, it is set. However, after this, if the user tries to get back to an empty cell, he tries to clear the value in the editor, but in this case, the value is always set back to 0. How to change this behaviour ?


  2. Stefan
    Stefan avatar
    2908 posts

    Posted 24 Dec 2014 Link to this post

    Hello Amand,

    Thank you for writing.

    I have tested this case and it seems that once the editor is cleared, the cell Value remains null. Please refer to the attached video.

    Still, if I have missed your case you can use the CellEndEdit event, where you can change the cell value, after the user finishes the edit process.

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top