Defines the fluent interface for configuring grid noRecords option.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class GridNoRecordsSettingsBuilder
Inheritance: objectGridNoRecordsSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the GridNoRecordsSettingsBuilder class.
C#
public GridNoRecordsSettingsBuilder(GridNoRecordsSettings settings)
The settings.
Methods
The template used for noRecords option.
C#
public GridNoRecordsSettingsBuilder Template(string template)
The template which is rendered when current view contains no records.
Returns:The name of the JavaScript function that returns the template used for noRecords option.
C#
public GridNoRecordsSettingsBuilder TemplateHandler(string template)
The Id of the template used for noRecords option.
C#
public GridNoRecordsSettingsBuilder TemplateId(string templateId)
The template which is rendered when current view contains no records.
Returns:The Id of the template used for noRecords option.
C#
public GridNoRecordsSettingsBuilder TemplateView(MvcHtmlString template)