GroupDescriptor
Represents grouping criteria.
Definition
Namespace:Telerik.DataSource
Assembly:Telerik.DataSource.dll
Syntax:
public class GroupDescriptor : SortDescriptor
Inheritance: objectJsonObjectSortDescriptorGroupDescriptor
Inherited Members
Constructors
public GroupDescriptor()
Methods
Changes the SortDescriptor to the next logical value.
public void CycleSortDirection()
for internal use
protected override void Serialize(IDictionary<string, object> json)
Overrides:
Properties
Gets the aggregate functions used when grouping is executed.
public AggregateFunctionCollection AggregateFunctions { get; }
The aggregate functions that will be used in grouping.
Gets or sets the content which will be used from UI. Usually this is the indicator that the the component is grouped by this field and it defaults to the field name. You can define your own string to show there.
[JsonConverter(typeof(ObjectConverter))]
public object DisplayContent { get; set; }
Gets or sets the type of the member that is used for grouping. Set this property if the member type cannot be resolved automatically. Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow.
[JsonIgnore]
public Type MemberType { get; set; }
The type of the member used for grouping.