Defines the fluent API for configuring the FilterField settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class FilterFieldBuilder<T>
Inheritance: objectFilterFieldBuilder<T>
Inherited Members
Constructors
Initialize the FilterFieldBuilder
public FilterFieldBuilder(FilterField<T> settings)
The FilterField
Methods
A value which will be initially set as a filter value when an expression item for the specific field is created.
public FilterFieldBuilder<T> DefaultValue(object value)
The value for DefaultValue
Returns:The template which the widget will use to create the field editor.
public FilterFieldBuilder<T> EditorTemplate(string value)
The value that configures the editortemplate.
Returns:The template which the widget will use to create the field editor.
public FilterFieldBuilder<T> EditorTemplateHandler(string value)
The value for EditorTemplate
Returns:The template which the widget will use to create the field editor.
public FilterFieldBuilder<T> EditorTemplateId(string value)
The value that configures the editortemplate.
Returns:The template which the widget will use to create the field editor.
public FilterFieldBuilder<T> EditorTemplateView(MvcHtmlString value)
The value that configures the editortemplate.
Returns:Defines a value which will be visualized instead of the data feild name.
public FilterFieldBuilder<T> Label(string value)
The value that configures the label.
Returns:The text of the filter operators displayed in the filter.
public FilterFieldBuilder<T> Operators(Action<FilterOperatorsSettingsBuilder> configurator)
The configurator for the operators setting.
Returns:Sets the format of the value in the preview.
public FilterFieldBuilder<T> PreviewFormat(string value)
The format.
Returns: