Defines the fluent API for configuring the Telerik UI for ASP.NET Core DataSource
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class DataSourceWidgetBuilder<T> : HelperResult, IHtmlContent where T : class
Inheritance: objectHelperResultDataSourceWidgetBuilder<T>
Implements:
Inherited Members
Constructors
Gets the view component.
public DataSourceWidgetBuilder(DataSourceWidget<T> component)
Fields
urlGenerator member.
protected readonly IUrlGenerator urlGenerator
viewContext member.
protected readonly ViewContext viewContext
Properties
Component member.
protected DataSourceWidget<T> Component { get; set; }
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:A DataSourceWidgetBuilder<T> instance for method chaining.
Configures a custom DataSource.
public DataSourceWidgetBuilder<T> Custom(Action<CustomDataSourceBuilder<T>> configurator)
The action that configures the custom data binding settings.
Returns:A DataSourceWidgetBuilder<T> instance for method chaining.
Suppress initialization script rendering. Note that this option should be used in conjunction with DeferredScripts(bool, bool) method.
public virtual DeferredDataSourceBuilder<T> Deferred(bool deferred = true)
Returns a DeferredDataSourceBuilder<T> instance.
Configures the DataSource of the Gantt component.
public DataSourceWidgetBuilder<T> Gantt(Action<GanttDataSourceBuilder<T>> configurator)
The action that configures the Gantt DataSource settings.
Returns:A DataSourceWidgetBuilder<T> instance for method chaining.
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:A DataSourceWidgetBuilder<T> instance for method chaining.
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:A DataSourceWidgetBuilder<T> instance for method chaining.
Sets the name of the component.
public virtual DataSourceWidgetBuilder<T> Name(string componentName)
The string value that configures the name option.
Returns:A DataSourceWidgetBuilder<T> instance for method chaining.
Configures the DataSource of the PivotGrid component.
public DataSourceWidgetBuilder<T> Pivot(Action<PivotDataSourceBuilder<T>> configurator)
The action that configures the PivotGrid DataSource settings.
Returns:A DataSourceWidgetBuilder<T> instance for method chaining.
Renders the component in place.
public virtual void Render()
Configures the DataSource of the Scheduler component.
public DataSourceWidgetBuilder<T> Scheduler(Action<SchedulerAjaxDataSourceBuilder<T>> configurator)
The action that configures the Scheduler DataSource settings.
Returns:A DataSourceWidgetBuilder<T> instance for method chaining.
Configures the DataSource SignalR binding.
public DataSourceWidgetBuilder<T> SignalR(Action<SignalRDataSourceBuilder<T>> configurator)
The action that configures the SignalR binding settings.
Returns:A DataSourceWidgetBuilder<T> instance for method chaining.
Configures the DataSource of the TreeList component.
public DataSourceWidgetBuilder<T> TreeList(Action<TreeListAjaxDataSourceBuilder<T>> configurator)
The action that configures the TreeList DataSource settings.
Returns:A DataSourceWidgetBuilder<T> instance for method chaining.
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:A DataSourceWidgetBuilder<T> instance for method chaining.
public override void WriteTo(TextWriter writer, HtmlEncoder encoder)
Overrides: