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
close icon

Anyway to bypass sorting by using ShowGroupDropArea?

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!

1 Reply

AD Administrator Syncfusion Team October 1, 2007 12:59 PM UTC

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".


Loader.
Live Chat Icon For mobile
Up arrow icon