Hi All,
Here is my problem. I have a UltraDataGrid that is bound to a datasource (that gets populated from DB). One of the columns is of type Decimal. I need to format the value to only have 2 decimals. (No problem there just set the format for the column). My problem is that when the cell goes into edit more it show a lot more decimals. It goes from 2.45 to 2.4499999999..
So the question how can I change the display format in edit mode so it only shows 2 decimals (or possible 4 since that is used in the back end)
Thanks
Format only affects the column display when it is not in edit mode. To control the cell in edit mode, you need to use the MaskInput (or it might be InputMask, I always forget which).
After playing around with the MaskInput it got it the way I wanted.
Thanks a lot for the help!