Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
625
Show Zero Instead of Blank in XamDataGrid cell
posted

I've seen many posts asking how to display a value of zero as a blank and it seems that this is now the default behavior.  I'm using 11.2 and I'd like my grid to show zero instead of blank.  My grid's fields are NOT autogenerated.  I've created an IValueConverter and am assigning instances of this converter to the Field.Converter property.  The converter does nothing more than return the value it is passed.  What is the appropriate approach for displaying zero instead of blank.

Thanks,

Paul