I have several GridViewDecimalColumn columns, and I am using this string format: {0:N3}, I want to show 3 decimals, but if the value is zero I would like to show the value as an empty string.
1.12 = 1.120
0.8 = 0.800
2.9 = 2.900
0.0 = " " ?
Is there a way to accomplish this?
Regards,
Alberto
2 Answers, 1 is accepted
0
Accepted
Dimitar
Telerik team
answered on 06 Jul 2017, 06:20 AM
Hello Alberto,
You can use the CellFormatting event to change the text of the cell: