How to Bind a Datasource to the Grouping Engine?
27 Mar 2018 / 1 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.
groupingEngine.SetSourceList(list);
Imports Syncfusion.Grouping
' Create a Grouping.Engine object.
Dim groupingEngine As New Engine()
' Set its datasource.
groupingEngine.SetSourceList(list)
Syncfusion Logo Essential Studio Windows Forms - v. 13.2.0.29 Class Reference Demo Support
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page