Provides the base functionality for configuring SignalR DataSource operations.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TSignalRDataSourceBuilder
The type of the SignalR DataSource builder.
Syntax:
public abstract class SignalRDataSourceBuilderBase<TSignalRDataSourceBuilder> where TSignalRDataSourceBuilder : SignalRDataSourceBuilderBase<TSignalRDataSourceBuilder>
Inheritance: objectSignalRDataSourceBuilderBase<TSignalRDataSourceBuilder>
Derived Classes:
Inherited Members
Constructors
Fields
protected readonly DataSource dataSource
Methods
Configures whether diacritic filtering should be used.
public TSignalRDataSourceBuilder AccentFoldingFiltering(string culture)
The used culture.
Returns:TSignalRDataSourceBuilder
Determines if data source would automatically sync any changes to its data items. By default changes are not automatically sync-ed.
public virtual TSignalRDataSourceBuilder AutoSync(bool enabled)
If true changes will be automatically synced, otherwise false.
Returns:TSignalRDataSourceBuilder
Determines if modifications will be sent to the server in batches or as individually requests.
public virtual TSignalRDataSourceBuilder Batch(bool enabled)
If true changes will be batched, otherwise false.
Returns:TSignalRDataSourceBuilder
Configures the client-side events
public TSignalRDataSourceBuilder Events(Action<DataSourceEventBuilder> configurator)
The events configuration.
Returns:TSignalRDataSourceBuilder
Sets the page of the DataSource.
public TSignalRDataSourceBuilder Page(int page)
The current page.
Returns:TSignalRDataSourceBuilder
Sets the number of records displayed on a single page.
public TSignalRDataSourceBuilder PageSize(int pageSize)
The count of records on a page.
Returns:TSignalRDataSourceBuilder
Enables or disables server aggregates. If enabled the data source will expect the aggregates to be calculated server-side.
public TSignalRDataSourceBuilder ServerAggregates(bool enabled)
True to enable server aggregates; otherwise false (the default).
Returns:TSignalRDataSourceBuilder
Enables or disables server filtering mode. If enabled the data source will make a request during filtering.
public TSignalRDataSourceBuilder ServerFiltering(bool enabled)
True to enable server filtering; otherwise false (the default).
Returns:TSignalRDataSourceBuilder
Enables or disables server grouping mode. If enabled the data source will make a request during grouping.
public TSignalRDataSourceBuilder ServerGrouping(bool enabled)
True to enable server grouping; otherwise false (the default).
Returns:TSignalRDataSourceBuilder
Enables or disables server paging mode. If enabled the data source will make a request during paging.
public TSignalRDataSourceBuilder ServerPaging(bool enabled)
True to enable server paging; otherwise false (the default).
Returns:TSignalRDataSourceBuilder
Enables or disables server sorting mode. If enabled the data source will make a request during paging.
public TSignalRDataSourceBuilder ServerSorting(bool enabled)
True to enable server sorting; otherwise false (the default).
Returns:TSignalRDataSourceBuilder
Sets the total number of records in the data source. Required during Custom binding.
public TSignalRDataSourceBuilder Total(int total)
Number of records
Returns:TSignalRDataSourceBuilder
Sets the transport of the DataSource using anonymous object.
public TSignalRDataSourceBuilder Transport(object settings)
TSignalRDataSourceBuilder