I have a business object based on IList which contains a nullable decimal attribute which is populated from SQL Server table. The BO handles the nullable decimal correctly but when the value is displayed in the XamGrid, a "0" / zero is displayed. I would like to have nothing displayed in the cell if the value is null.
Please assist.
Hi Maria,
I'm doing my binding a bit different, but your sample guided me in the right direction.
Thanks a lot
Hello,
I am just checking your progress on the issue regarding the displayed value of a cell.
If you have any other questions on the matter, please feel free to ask.
Thank you for posting!
I have been looking through your scenario and I created a sample project. In order to change the displayed text when the value is null, you could use a template column and use a converter to check whether the displayed text is zero. If the text is zero the converter returns empty string.
Please feel free to let me know if you have any questions on the matter.