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
4695
format of number in the cells in ultragrid
posted

Dear all,

In the cells in the ultragrid, I want to set the number format, 99999.99

Is there any proper way to restrict the user input??

On the other hand I have set the max value of the cells in the designer view. But Don't know why when there are 3 decimal places, it is allowed??

Do you know why??

Parents
No Data
Reply
  • 69832
    Offline posted

    You can set the UltraGridColumn.MaskInput property to (for example) "nnnnn.nn". The Format property applies only to the display format for the cell, whereas the MaskInput property is used to enforce character input rules.

Children