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
130
Question about entering decimal in Data grid cell
posted

Hi all, 

 

I am currently using the datagrid to perform some decimal input but encountered a  problem.

I have try to setup some mask in the cell so that it will accept the number with 2 decimal but while I enter data like 29.59, it have popup a cell data error, is that anything wrong with my setting of that column?

Thanks,

Brian

  • 20872
    Offline posted

    Hello Brian,

    I am still following this forum thread.

    Please feel free to let us know if you need any other assistance with this matter.

  • 20872
    Offline posted

    Hello,

    I have tried the mentioned settings and everything worked fine for me. Could you please verify if the dataType of the column allows you to have such settings? If it is an Integer type (like int, short, byte) when you type 29.59 would be expected to have an error message in the UltraGrid since the entered text doesn't match to the expected underlying dataType.

    Please feel free to let us know if you have any other questions with this matter.