I have a page that is using the coqsoft grid, and the cells of type int are displayed either with a value or empty if the value is zero, I don't want that, I want the grid to display either a value or 0.00 if the value is zero.
Please help. Thanks.
I have a page that is using the coqsoft grid, and the cells of type int are displayed either with a value or empty if the value is zero, I don't want that, I want the grid to display either a value or 0.00 if the value is zero.
Please help. Thanks.
In the column XML use this:
Format="0.00;-0.00;0.00"
The first value is the format of the number in case it is positive, the second in case it is negative, the 3rd in case it is zero. Also you can use ",0.00"
if you want a thousands separator.
You can also add this format in the definition XML or in data rows with column name appended like this "Col1Format"