Hi,
I have in my WedDataGrid several quantities with different units of measurement per line. how do I format it my cells
Row Article Quantity Unit Number of Decimal
1 Article1 15 PC 0
2 Article2 15,190 KG 3
Thanks,
Hello David,The easiest way to do that is through Designer. Go to “Edit Columns” -> Select field -> Go to “DataFormatString”
Or you can set it in the markup:
<ig:BoundDataField DataFieldName="UnitPrice" DataFormatString="{0:C}" Key="UnitPrice"> <Header Text="UnitPrice" /> </ig:BoundDataField>
Please let me know if you need additional assistance.