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.
Syncfusion Feedback

REGD---Formula Cell

Thread ID:

Created:

Updated:

Platform:

Replies:

26001 Mar 11,2005 11:01 AM UTC Mar 11,2005 01:51 PM UTC Windows Forms 4
loading
Tags: GridControl
manohar
Asked On March 11, 2005 11:01 AM UTC

Hi Clay, "=9/-3" entered in the formula cell gives an exception is there any way of allowing execution of this formula with out having to put the negative numbers with in parenthesis like "=9/(-3)". Regards, Manohar B.

Administrator [Syncfusion]
Replied On March 11, 2005 01:01 PM UTC

This is bug. It has been entered in our open issues data base as defect#99. It has been corrected in our code base, and the fix will be in the next release. I do not know when this release will hit, but it is being worked on.

manohar
Replied On March 11, 2005 01:08 PM UTC

Hi Clay, Can you just let us know the piece of code that we need to change so that it works as per our requirement if possible. Regards Manohar

Administrator [Syncfusion]
Replied On March 11, 2005 01:39 PM UTC

In \Syncfusion\Essential Suite\3.0.1.0\Windows\Grid.Windows\Src\Extensions\Formulas\GridFormulaCell.cs, search for this comment. //Mark unary minus with u-token. It is in one of the ParseSimple overloads. The 2nd line under this comment should be replaced with this line. text = sb.Replace(",-",",u").Replace("[-","[u").Replace("=-","=u").Replace(">-",">u").Replace("<-","

Administrator [Syncfusion]
Replied On March 11, 2005 01:51 PM UTC

Looks like the web page is not displaying the pasted code properly, probably due to HTML tags. Anyway, the line that is present in the 3.0.1.0 code base should end like this:
.Replace("/-","/u").Replace("*-","*u").Replace("+-","+u").Replace("--","-u").ToString();

CONFIRMATION

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.

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

;