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

Data grouping

Thread ID:

Created:

Updated:

Platform:

Replies:

7893 Oct 14,2003 05:58 AM UTC Oct 17,2003 06:04 AM UTC Windows Forms 5
loading
Tags: GridControl
Kis
Asked On October 14, 2003 05:58 AM UTC


Kis
Replied On October 14, 2003 06:03 AM UTC

I use the property gridControl1.Model.PopulateValues(...) to binding a datasource to a gridcontrol,if I can handle the grouping data in the datasource?just like to do some Sum or count in the datasource by some grouping fields.

Administrator [Syncfusion]
Replied On October 15, 2003 11:18 AM UTC

Grouping statistics will be supported in the 2.0 release. In the current 1.6 code base, if you populate using PopulateValues, you could later insert a row or rows using grid.Rows.InsertRange method. After that inserting the row in the proper position, you would have to populate it directly with the statistics you want to see.

Kis
Replied On October 15, 2003 10:35 PM UTC

But in the datasource, I don't know which row I will insert?

Administrator [Syncfusion]
Replied On October 16, 2003 08:11 AM UTC

If you use PopulateValues, then you have a GridControl that actually holds the data. Once the grid is populated, there is no further need for the datasource (unless you are trying to edit data in the grid, and then need to move the changes back to the datasource). I was suggesting that you insert the new rows in the grid, and not in the datasource. Is there any need to have the summary information to be in your datasource?

Kis
Replied On October 17, 2003 06:04 AM UTC

thanks,I know it now!

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

;