XamDataGrid is not showing decimals as they are in the bound entities.
As an example, below table shows the actual value in the entity and the value shown on grid
If the fractional decimals are odd in number, it appends a zero. (See the first two records)
If the fractional decimals are even, then it shows as it is.
My requirement is, whatever be the fractional digits, they should be shown as they are instead of default appending zero. Please let me know how to achieve this.
Thanks in advance.
Hi Manik,
Just binding a 'decimal' type property to the Field doesn't seem to reproduce this behavior, but you can set a format on the Field so that it will show the number as is. Set the Format property to "G" and the number should show as it is inside the underlying data.