Defines the fluent interface for configuring the DataSource AJAX create/update/destroy operation bindings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TModel
Syntax:
public class TreeListAjaxDataSourceBuilder<TModel> : FilterableAjaxDataSourceBuilder<TModel, TreeListAjaxDataSourceBuilder<TModel>> where TModel : class
Inheritance: objectAjaxDataSourceBuilderBase<TModel, TreeListAjaxDataSourceBuilder<TModel>>FilterableAjaxDataSourceBuilder<TModel, TreeListAjaxDataSourceBuilder<TModel>>TreeListAjaxDataSourceBuilder<TModel>
Inherited Members
Constructors
Creates new instance of the TreeListAjaxDataSourceBuilder class.
public TreeListAjaxDataSourceBuilder(DataSource dataSource, ViewContext viewContext, IUrlGenerator urlGenerator)
The DataSource
viewContextViewContextThe ViewContext
urlGeneratorIUrlGeneratorThe IUrlGenerator
Methods
Configures the initial aggregates.
public override TreeListAjaxDataSourceBuilder<TModel> Aggregates(Action<DataSourceAggregateDescriptorFactory<TModel>> aggregates)
The lambda which configures the Aggregates
Returns:TreeListAjaxDataSourceBuilder<TModel>
Returns the current TreeListAjaxDataSourceBuilder<TModel> instance.
Overrides:
Configures the initial grouping.
public override TreeListAjaxDataSourceBuilder<TModel> Group(Action<DataSourceGroupDescriptorFactory<TModel>> configurator)
The lambda which configures the Grouping
Returns:TreeListAjaxDataSourceBuilder<TModel>
Returns the current TreeListAjaxDataSourceBuilder<TModel> instance.
Overrides:
Configures Model properties
public TreeListAjaxDataSourceBuilder<TModel> Model(Action<DataSourceTreeListModelDescriptorFactory<TModel>> configurator)
The lambda which configures the Model instance
Returns:TreeListAjaxDataSourceBuilder<TModel>
Returns the current TreeListAjaxDataSourceBuilder<TModel> instance.
Configures the initial sorting.
public override TreeListAjaxDataSourceBuilder<TModel> Sort(Action<DataSourceSortDescriptorFactory<TModel>> configurator)
The lambda which configures the Sorting
Returns:TreeListAjaxDataSourceBuilder<TModel>
Returns the current TreeListAjaxDataSourceBuilder<TModel> instance.
Overrides: