How to Bind a Datasource to the Grouping Engine?

27 Mar 20181 minute to read

Essential Grouping can use any IList object holding objects and a common System.Type as its datasource. The public properties of the common type can be used to group, sort and summarize the data in the IList.

The following code shows how to set an IList object to be the data source of a GroupingEngine object. Within Essential Grouping, the items in your IList datasource are referred to as records.

using Syncfusion.Grouping;
// Create a Grouping.Engine object.
Engine groupingEngine = new Engine();
// Set its datasource.
Imports Syncfusion.Grouping
' Create a Grouping.Engine object.
Dim groupingEngine As New Engine()
' Set its datasource.
 Syncfusion Logo Essential Studio Windows Forms - v. Class Reference Demo Support