Defines the fluent API for configuring GridNoRecordsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridNoRecordsSettingsBuilder<T> where T : class
Inheritance: objectGridNoRecordsSettingsBuilder<T>
Inherited Members
Constructors
GridNoRecordsSettingsBuilder method.
public GridNoRecordsSettingsBuilder(GridNoRecordsSettings<T> container)
Properties
Gets or sets the Container.
protected GridNoRecordsSettings<T> Container { get; }
Methods
The template which is rendered when current view contains no records.
public GridNoRecordsSettingsBuilder<T> Template(string value)
The value for Template
Returns:GridNoRecordsSettingsBuilder<T>
Returns the current GridNoRecordsSettingsBuilder<T> instance.
The template which is rendered when current view contains no records.
public GridNoRecordsSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:GridNoRecordsSettingsBuilder<T>
Returns the current GridNoRecordsSettingsBuilder<T> instance.
The template which is rendered when current view contains no records.
public GridNoRecordsSettingsBuilder<T> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:GridNoRecordsSettingsBuilder<T>
Returns the current GridNoRecordsSettingsBuilder<T> instance.
The template which is rendered when current view contains no records.
public GridNoRecordsSettingsBuilder<T> TemplateId(string templateId)
The ID of the template element for Template
Returns:GridNoRecordsSettingsBuilder<T>
Returns the current GridNoRecordsSettingsBuilder<T> instance.
The template which is rendered when current view contains no records.
public GridNoRecordsSettingsBuilder<T> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:GridNoRecordsSettingsBuilder<T>
Returns the current GridNoRecordsSettingsBuilder<T> instance.