Rank: Member Groups: Member
Joined: 4/15/2011 Posts: 19
|
Hello, i'm trying to set a static column format to a number with 2 decimal digits. I used this code:
Code: HTML/ASPX
<Columns>
<eo:StaticColumn HeaderText="header" Name="column1" Width="45" DataFormat="{0:0.00}">
</eo:StaticColumn>
</Columns>
But dataformat doesn't work, and i got a lot of decimal digits. Can you help me? Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
For numbers, the Grid does not support custom format, it only supports standard numeric format strings such as {0:N5}, note the first letter of the format string is always a letter.
Thanks!
|