This question is locked. New answers and comments are not allowed.
Hey Everyone,
I'm having a small problem with the use of the Format strings on the Grid control. For some reason, I cannot get it to work at all.
The following is the code that I am using to set the format:
For some reason, this just doesn't work for me. By my understanding, this should lead the grid to display a value of 0.1234 as 12.34%. Instead it simply displays 0.1234. Any thoughts on what I'm doing wrong?
I'm having a small problem with the use of the Format strings on the Grid control. For some reason, I cannot get it to work at all.
The following is the code that I am using to set the format:
columns.Bound(column => column.Percent).Format("{0:#0.##%}").Title("% Complete");For some reason, this just doesn't work for me. By my understanding, this should lead the grid to display a value of 0.1234 as 12.34%. Instead it simply displays 0.1234. Any thoughts on what I'm doing wrong?