GroupedDataSource Class |
Namespace: CMS.Base
public class GroupedDataSource : IGroupedData, IEnumerable
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 | |
---|---|---|
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 |
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 | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |
Name | Description | |
---|---|---|
firstLevel |
Top level of the collection.
| |
mColumnName |
Column name for grouping.
| |
mDataSource |
Data source.
| |
mGroups |
Resulting groups.
| |
mLevelColumnName |
Column name for level value.
| |
mTopItem |
Top item object.
|
Name | Description | |
---|---|---|
ColumnName |
Column name for grouping.
| |
DataSource |
Data source.
| |
LevelColumnName |
Column name for level value.
| |
TopItem |
Gets the first available item.
|