Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
Cell Numeric Format N2
posted

In my grid I have a cell with numeric format N2. The grid displays the column correctly. But in edit mode it displays the full format.

Like for example if the value is 8.465, on load it displays 8.46 which is expected but when user clicks the cell to edit, then it displays 8.465. How could I set the cell to display 8.46 on edit also

Parents
  • 37774
    Verified Answer
    posted

    The Format on the column only applies to when the cell is not in edit mode.  If you want to control how the data appears to the user, you may want to look into the MaskInput property on the column; in this case, you could try setting it to "n.nn", for example.  For a full list of the mask characters, see this page in the documentation.

    -Matt

Reply Children
No Data