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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Expression cells displaying NAN - Can I display something else

Thread ID:





21649 Nov 16,2004 06:52 PM UTC Nov 16,2004 09:40 PM UTC WinForms 2
Tags: GridControl
Colin Marsh
Asked On November 16, 2004 06:52 PM UTC

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 09:37 PM UTC

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 09:40 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon