GroupedDataSource Class |
Namespace: CMS.Base
public class GroupedDataSource : IEnumerable, IGroupedData
The GroupedDataSource type exposes the following members.
Name | Description | |
---|---|---|
GroupedDataSource(Object, String) |
Constructor, initializes the GroupedDataSource.
| |
GroupedDataSource(Object, String, String) |
Constructor, initializes the GroupedDataSource.
|
Name | Description | |
---|---|---|
ColumnName |
Column name for grouping.
| |
DataSource |
Data source.
| |
LevelColumnName |
Column name for level value.
| |
TopItem |
Gets the first available item.
|
Name | Description | |
---|---|---|
AddDataRow |
Adds the item to the group table.
| |
EnsureList |
Ensures the list with specified key value.
| |
GetEnumerator |
Returns grouped datasource enumerator.
| |
GetGroup |
Returns the array list of items from specified group, type of the item depends on the DataSource
DataSet, DataView, DataTable -> DataRow
| |
GetGroupArray | Obsolete.
Returns the item group as an array.
| |
GetGroupDataTable |
Returns the item group as an DataTable.
| |
GetGroupView |
Returns the array list of items from specified group, type of the item depends on the DataSource
DataSet, DataView, DataTable -> DataRowView
| |
GetItems |
Gets the children based on the given key
| |
LoadGroups |
Loads the data groups.
|
Name | Description | |
---|---|---|
ToJSON |
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |