Defines the fluent API for configuring the Telerik UI for ASP.NET MVC DataSource
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class DataSourceWidgetBuilder<T> : WidgetBuilderBase<DataSourceWidget<T>, DataSourceWidgetBuilder<T>>, IHtmlString where T : class
Inheritance: objectWidgetBuilderBase<DataSourceWidget<T>, DataSourceWidgetBuilder<T>>DataSourceWidgetBuilder<T>
Implements:
Inherited Members
Constructors
Gets the view component.
public DataSourceWidgetBuilder(DataSourceWidget<T> component)
Fields
protected readonly IUrlGenerator urlGenerator
Methods
Configures the DataSource for Ajax data binding.
public DataSourceWidgetBuilder<T> Ajax(Action<AjaxDataSourceBuilder<T>> configurator)
The action that configures the Ajax data binding settings.
Returns:Configures a custom DataSource.
public DataSourceWidgetBuilder<T> Custom(Action<CustomDataSourceBuilder<T>> configurator)
The action that configures the custom data binding settings.
Returns:Configures the DataSource of the Gantt component.
public DataSourceWidgetBuilder<T> Gantt(Action<GanttDataSourceBuilder<T>> configurator)
The action that configures the Gantt DataSource settings.
Returns:Configures the DataSource for the dependencies of the Gantt component tasks.
public DataSourceWidgetBuilder<T> GanttDependency(Action<GanttDependenciesDataSourceBuilder<T>> configurator)
The action that configures the DependenciesDataSource settings.
Returns:Configures the Hierarchical DataSource that allows the representation of hierarchical data.
public DataSourceWidgetBuilder<T> Hierarchical(Action<HierarchicalDataSourceBuilder<T>> configurator)
The action that configures the Hierarchical DataSource settings.
Returns:Configures the DataSource of the PivotGrid component.
public DataSourceWidgetBuilder<T> Pivot(Action<PivotDataSourceBuilder<T>> configurator)
The action that configures the PivotGrid DataSource settings.
Returns:Configures the DataSource of the Scheduler component.
public DataSourceWidgetBuilder<T> Scheduler(Action<SchedulerAjaxDataSourceBuilder<T>> configurator)
The action that configures the Scheduler DataSource settings.
Returns:Configures the DataSource SignalR binding.
public DataSourceWidgetBuilder<T> SignalR(Action<SignalRDataSourceBuilder<T>> configurator)
The action that configures the SignalR binding settings.
Returns:public DataSourceWidgetBuilder<T> TreeList(Action<TreeListAjaxDataSourceBuilder<T>> configurator)
Configures the DataSource for WebAPI data binding.
public DataSourceWidgetBuilder<T> WebApi(Action<WebApiDataSourceBuilder<T>> configurator)
The action that configures the WebAPI data binding settings.
Returns: