GroupedDataSource MembersKentico 8.0 API Reference
The GroupedDataSource type exposes the following members.
Constructors

  NameDescription
Public methodGroupedDataSource(Object, String)
Constructor, initializes the GroupedDataSource.
Public methodGroupedDataSource(Object, String, String)
Constructor, initializes the GroupedDataSource.
Back to Top
Methods

  NameDescription
Protected methodAddDataRow
Adds the item to the group table.
Protected methodEnsureList
Ensures the list with specified key value.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetEnumerator
Returns grouped datasource enumerator.
Public methodGetGroup
Returns the array list of items from specified group, type of the item depends on the DataSource DataSet, DataView, DataTable -> DataRow
Public methodGetGroupArray
Returns the item group as an array.
Public methodGetGroupDataTable
Returns the item group as an DataTable.
Public methodGetGroupView
Returns the array list of items from specified group, type of the item depends on the DataSource DataSet, DataView, DataTable -> DataRowView
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetItems
Gets the children based on the given key
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodLoadGroups
Loads the data groups.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Back to Top
Fields

  NameDescription
Protected fieldfirstLevel
Top level of the collection.
Protected fieldmColumnName
Column name for grouping.
Protected fieldmDataSource
Data source.
Protected fieldmGroups
Resulting groups.
Protected fieldmLevelColumnName
Column name for level value.
Protected fieldmTopItem
Top item object.
Back to Top
Properties

  NameDescription
Public propertyColumnName
Column name for grouping.
Public propertyDataSource
Data source.
Public propertyLevelColumnName
Column name for level value.
Public propertyTopItem
Gets the first available item.
Back to Top
See Also