Remove trailing zeros from grid view column

3 posts, 0 answers
  1. Jippy
    Jippy avatar
    5 posts
    Member since:
    Oct 2012

    Posted 26 Oct 2012 Link to this post

    Hi,
       I have decimal values in telerik grid view data column, i formatted it and showing properly but when i try to edit the value and double click on it, it displays a bunch of zeros after the decimal point.Now i want to remove all those zeros when i double click for editing.Can anybody please help me out on this as soon as possible?
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 29 Oct 2012 Link to this post

    Hello,

    You could predefine the CellEditTemplate for the Column with decimal values. Then apply appropriate formatting for the editor you will use (by default it is a TextBox).  

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Jippy
    Jippy avatar
    5 posts
    Member since:
    Oct 2012

    Posted 22 Nov 2012 Link to this post

    Hi Didie, thank you very much for the reply.
Back to Top