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.

Expresion in a cell

Thread ID:

Created:

Updated:

Platform:

Replies:

38540 Dec 14,2005 02:04 PM Dec 15,2005 12:45 PM Windows Forms 5
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On December 14, 2005 02:04 PM

I need help with the expression in a cell. I am using GDBG. I have a grid that is displaying three columns. First column is description. Second Column is expression column. Third column is result of expression in second column, readonly. My question is, Can I enter something like in second column ((10 * 400)/100 )? How do I evaluate expression on tab out from the cell and store the result in third colum. Please help. Thanks, VS

Administrator [Syncfusion]
Replied On December 14, 2005 02:37 PM

If you are using version 3.3 or later, you can use a method in the GridFormulaEngine class to handle this in the CurrentCellAceptedChanged event. Here is a little sample. http://www.syncfusion.com/Support/user/uploads/GDBG_Calculate_cf9add01.zip If you are using an earlier version, this method was not exposed. One solution in that case is to do something similar, but use the Essential Calculate''s CalcQuick object to perform the parsing and computing.

Administrator [Syncfusion]
Replied On December 14, 2005 03:41 PM

Thanks, We are using 3.0.1.1. is ther a small sample for where i can look? Thanks,

Administrator [Syncfusion]
Replied On December 14, 2005 04:13 PM

You do the same thing except you use a CalcQuick object. http://www.syncfusion.com/Support/user/uploads/GDBG_Calculate_fb722948.zip

Administrator [Syncfusion]
Replied On December 15, 2005 12:24 PM

I Don''t see the Syncfusion.Calculate.CalcQuick. Is it a separate installation? Thanks,

Administrator [Syncfusion]
Replied On December 15, 2005 12:45 PM

Yes. It is part of Essential Suite.

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.

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.

;