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
9364
When cell is completely empty, get "value in editor is invalid"
posted

I have a column  for decimal field values. I have set its format to #.#. So nothing shows when it a cell value is 0. This works great until one clear out all contents from the cell using Delete and tabs out of cell. That's when he gets the "value in editor is invalid" error message from Grid.

I am guessing there is some setting that would interpret a completely emptied out  cell to mean "0". That way the system is happy with the numeric value and does not return the error.

Let me know the best way to to get around this problem.

Thanks!

Parents
  • 469350
    Offline posted

    I assume you mean MaskInput, not format. Format would have no effect when editing a cell.

    Try using a MaskInput of "n.n" instead of "#.#", and that seems to work for me.

Reply Children