Defines the fluent interface for configuring group.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TDataSourceGroupDescriptorFactory
Syntax:
C#
public abstract class DataSourceGroupDescriptorFactoryBase<TDataSourceGroupDescriptorFactory> where TDataSourceGroupDescriptorFactory : DataSourceGroupDescriptorFactoryBase<TDataSourceGroupDescriptorFactory>
Inheritance: objectDataSourceGroupDescriptorFactoryBase<TDataSourceGroupDescriptorFactory>
Derived Classes:
Inherited Members
Constructors
C#
public DataSourceGroupDescriptorFactoryBase(IList<GroupDescriptor> descriptors)
Methods
Specifies the member by which the data should be grouped.
C#
public DataSourceGroupDescriptorBuilder Add(string memberName, Type memberType, ListSortDirection sortDirection, string sortCompare = null)
Member name
memberTypeTypeMember type
sortDirectionListSortDirectionSort order
sortComparestringReturns:C#
protected DataSourceGroupDescriptorBuilder AddDescriptor(string memberName, Type memberType, ListSortDirection sortDirection, string sortCompare = null)