We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Expression cells displaying NAN - Can I display something else

Thread ID:





21649 Nov 16,2004 01:52 PM Nov 16,2004 04:40 PM Windows Forms 2
Tags: GridControl
Colin Marsh
Asked On November 16, 2004 01:52 PM

Is there a way to display something other than NAN when a formula does not compute on a cell. Perhaps leaving the cell blank or setting some other text would be nice. How would I accomplish this?

Administrator [Syncfusion]
Replied On November 16, 2004 04:37 PM

Is this a GridControl? If so, you can handle the DrawCellDisplayText. If e.DisplayText is NaN, then set e.DisplayText to what you want to see.

Administrator [Syncfusion]
Replied On November 16, 2004 04:40 PM

If you are using a GridGroupingControl, then use TableControlDrawCellDisplayText and e.Inner.DisplayText.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.