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

Formula Exists for Cell or Not (DataGridBound)

Thread ID:





12958 Apr 16,2004 07:15 AM UTC Apr 16,2004 08:17 AM UTC WinForms 1
Tags: GridControl
Asked On April 16, 2004 07:15 AM UTC

Clay, Is it possible to check whether cells has got the formula or not? Example. I have field called ''AMOUNT'' which has the value as well as formula''s Rows Column Name (AMOUNT) Row 1 : 10 Row 2 : =10+20 Row 3 : =A1 Row 4 : =SIN(10) In the above data I want to find out which row has got the formula and which row has go the value. Thanks Satish

Administrator [Syncfusion]
Replied On April 16, 2004 08:17 AM UTC

If I understand properly, you could get the composite style from the GridStyleInfo style = this.grid[row, col]; If you are saving the FormulaTags in Model.SaveCellInfo and dynamically providing them in Model.QueryCellInfo, then you could just check style.FormulaTag != null. If you are not using SaveCellInfo and QueryCellInfo, then you could check (style.Text.Length > 0 && style.Text[0] == ''='').


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