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

GridBoundControl formulas

Thread ID:





17208 Aug 3,2004 03:35 PM UTC Aug 3,2004 04:33 PM UTC WinForms 1
Tags: GridControl
Derralle Gerard
Asked On August 3, 2004 03:35 PM UTC

I have a bound grid and need to provide summary row is different sections. The questionable part is that the data to be summed is every 8 rows apart for a section. Is there an ideal way to accomplish this with formulas?

Administrator [Syncfusion]
Replied On August 3, 2004 04:33 PM UTC

This would be difficult using a GridDataBoundGrid as there is no concept of unbound rows in GridDataBoundGrid. You cannot just easily insert rows into a GridDataBoundGrid whose values do not come from the bound datasource. It would be easier to use a ''mixed'' virtual GridControl to handle this task. You could use QueryCellInfo to display the values in the grid from the DataTable leaving every 8th row avaiable for use as a formula row. Depending on how many rows we are talking about here, you may or may not want to provide the formula rows in some virtual manner. If you do choose to use the formula rows in a virtual manner, you woul dhave to manage a FormulaTag collection as in the KB article referring to using formulas in aGridDataBoundGrid which is a type of virtual grid. http://www.syncfusion.com/Support/article.aspx?id=10439


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