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
990
Problem with maskinput with numeric editor in grid column
posted

HI!

I put a numeric editor component in a grid column. The numeric type is Double and I set the MaxValue and the MinValue to Double.MaxValue and Double.MinValue. MaskInput et FormatInfo are null.

But when I go in edit mode to the column in the grid, the column has now a mask input of currency. Why does it happen ? I inspect the column properties and the mask input property is null.

Somebody can explain what happens here ? I use WinGrid 10.2

Best regards,

Benoit

Parents
  • 69832
    Offline posted

    Most likely the DataType of the underlying DataColumn is System.Decimal, which is why the grid resolves the MaskInput property to a value that is appropriate for that type. You can set it to something else if you don't want a currency mask.

Reply Children