Class DataTableAggregator
The class that contains the aggregation calculations of the group when the items source of the datagrid is DataTable.
Inheritance
System.Object
DataTableAggregator
Namespace: Syncfusion.Maui.Data
Assembly: Syncfusion.Maui.Data.dll
Syntax
public class DataTableAggregator : Object
Constructors
DataTableAggregator()
Initializes a new instance of the DataTableAggregator class.
Declaration
public DataTableAggregator()
DataTableAggregator(DataTable)
Initializes a new instance of the DataTableAggregator class.
Declaration
public DataTableAggregator(DataTable table)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataTable | table | The reference of the data table which is bind as the items source of SfDataGrid. |
Properties
Table
Gets the reference of the data table in the datagrid.
Declaration
public DataTable Table { get; }
Property Value
Type | Description |
---|---|
System.Data.DataTable | The reference of the data table in the datagrid. |
Methods
GetClonedTable(IEnumerable, DataTable)
Create DataTable by cloning the given data table and populating it with the given IEnumerable items.
Declaration
protected static DataTable GetClonedTable(IEnumerable items, DataTable dataTable)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | items | The IEnumerable items to be populated in the data table created. |
System.Data.DataTable | dataTable | The data table from which the new data table is to be cloned. |
Returns
Type | Description |
---|---|
System.Data.DataTable | The DataTable created by cloning the given data table and populating it with the given IEnumerable items. |