| GroupedDataSource Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.Base
 Syntax
Syntaxpublic class GroupedDataSource : IEnumerable, IGroupedData
The GroupedDataSource type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | GroupedDataSource(Object, String) | 
            Constructor, initializes the GroupedDataSource.
             | 
|  | GroupedDataSource(Object, String, String) | 
            Constructor, initializes the GroupedDataSource.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | ColumnName | 
            Column name for grouping.
             | 
|  | DataSource | 
            Data source.
             | 
|  | LevelColumnName | 
            Column name for level value.
             | 
|  | TopItem | 
            Gets the first available item.
             | 
 Methods
Methods| 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
             | 
|  | 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.
             | 
 Extension Methods
Extension Methods| 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.) | 
 See Also
See Also