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
165
Hide NaN/Infinity in WinGrid
posted

I have a WinGrid and use CalcManager to add several formulas to the columns.  Some of the values result in NaN or Infinity values - is there a way to display blank cells or zeros instead of these values in each cell?

Parents
  • 469350
    Verified Answer
    Offline posted

    There's no really easy way.You could hide the real calculated column and add an unbound column and then use the InitializeRow event to copy he value from one to the other and thus you could change any values you want. 

    Another option would be to use a CreationFilter and modify the text of the TextUIElement directly.

Reply Children