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.

Anyway to bypass sorting by using ShowGroupDropArea?

Thread ID:

Created:

Updated:

Platform:

Replies:

68758 Oct 1,2007 06:38 AM Oct 1,2007 08:59 AM Windows Forms 1
loading
Tags: GridControl
Titus Cheung
Asked On October 1, 2007 06:38 AM

Hello,

Instead of displaying records filtered by groups when a user selects a column and drops it into the ShowGroupDropArea, is there a way to just basically show the group by default when the form loads?

For example, this tutorial shows the data is being grouped by Year, then by School:
http://websamples.syncfusion.com/docs/gridwin/ug/default.html

Is there a way to do this automatically when the form loads without user specifying it at run time?

Thanks!

Administrator [Syncfusion]
Replied On October 1, 2007 08:59 AM

At runtime, you can programatically group the grid by adding the column to the TableDescriptor.GroupedColumns collection.


grid.TableDescriptor.GroupedColumns.Add("Col1"); //group by the column whose name is "Col1".


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.

;