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
100
need to display "N.A" if the value is -999.999
posted
I have a double column that should display "N.A" when the value is -999.999. How do I achieve this ? If I display "N.A" in a double column will it become a string column ? Will I be able to sort the column ? Thanks, Ramki
  • 138253
    Offline posted

    Hello Ramki,

    Thank you for your post. I have been looking through it and I created a sample project for you. Basically I used the XamNumericEditor’s ValueToDisplayTextConverter property to convert the value if it is -999.999 to “N.A”. NB! this is only the display value, when not in edit mode. The original value remains Double type and is -999.999. Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.

    Feel free to write me if you need further assistance.

    xamDataGridConverterNA.zip