-
I have columns on my Datagrid object of type decimal. I can enter values like 23.5 or 10.1111 but I cannot enter a value that has a zero on the end or in the middle in the decimal positions (7.10, 7.101, 7.1101). Each value stops at the number before the zero I can enter 7.111 and then change the middle number to zero to fake out the system 7.111 becomes 7.101. I believe it is a formatting issue, but I have tried a few different ways to get around it unsuccessfully.
Here are two fields both defined as decimal with a format of {0:00.000}. I have tried: The data model has these fields defined as decimal. Everything else works; I just can't enter values like 3.205. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The NumericEdit is a basic input element that doesn't have many options to format the value. Instead, you can use the NumericPicker. It has additional parameters like |
Beta Was this translation helpful? Give feedback.
-
FIXED I took it one step further on the simplification scale. I removed the NumberPicker and added the Decimals attribute to the DataGridNumericColumn element. I feel like the format should work by default based on the data type of the field. In any case I can now store a value of 2.101.
|
Beta Was this translation helpful? Give feedback.
FIXED
I took it one step further on the simplification scale. I removed the NumberPicker and added the Decimals attribute to the DataGridNumericColumn element. I feel like the format should work by default based on the data type of the field. In any case I can now store a value of 2.101.