Kendo.Mvc.UI.Fluent.FilterBuilder
Defines the fluent API for configuring the Kendo Filter for ASP.NET MVC.
Methods
ApplyButton(System.Boolean)
If set to true the filter will display a button which when clicked will apply filtering over the datasource.
Parameters
value System.Boolean
The value that configures the applybutton.
ExpressionPreview(System.Boolean)
If set to true the filter will visualize the filter expression that will be applied to the datasource.
Parameters
value System.Boolean
The value that configures the expressionpreview.
MainLogic(Kendo.Mvc.FilterCompositionLogicalOperator)
Defines the value of the logical operator at the root level of the filter expression.
Parameters
value Kendo.Mvc.FilterCompositionLogicalOperator
The value that configures the mainlogic.
Operators(System.Action<Kendo.Mvc.UI.Fluent.FilterOperatorsSettingsBuilder>)
The text of the filter operators displayed in the filter.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.FilterOperatorsSettingsBuilder>
The configurator for the operators setting.
Fields(System.Action<Kendo.Mvc.UI.Fluent.FilterFieldFactory<T>>)
The configuration of the filter fields. An array of JavaScript objects that hold information regarding the filter field, it's editor, default values used for filter and etc.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.FilterFieldFactory>
The configurator for the fields setting.
DataSource(System.String)
The data source to which the widget will apply a filter. Should be an existing kendo.data.DataSource instance.
Parameters
value System.String
The value for DataSource
ApplyButton
If set to true the filter will display a button which when clicked will apply filtering over the datasource.
Parameters
value ``
The value that configures the applybutton.
FilterExpression(Kendo.Mvc.CompositeFilterDescriptor)
An object which represents a filter expression which the kendo.data.DataSource can use to filter the data.
Parameters
value Kendo.Mvc.CompositeFilterDescriptor
The value for Expression
ExpressionPreview
If set to true the filter will visualize the filter expression that will be applied to the datasource.
FilterExpression(System.Action<Kendo.Mvc.UI.Fluent.DataSourceFilterDescriptorFactory<T>>)
An object which represents a filter expression which the kendo.data.DataSource can use to filter the data.
Parameters
value System.Action<Kendo.Mvc.UI.Fluent.DataSourceFilterDescriptorFactory>
The value for Expression
Events(System.Action<Kendo.Mvc.UI.Fluent.FilterEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.FilterEventBuilder>
The client events action.
Example (ASPX)
<%= Html.Kendo().Filter()
.Name("Filter")
.Events(events => events
.Change("onChange")
)
%>
Messages(System.Action<Kendo.Mvc.UI.Fluent.FilterMessagesSettingsBuilder<T>>)
The text messages displayed in the filter. Use it to customize or localize the filter messages.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.FilterMessagesSettingsBuilder>
The action that configures the messages.