FilterOperatorsBooleanSettingsBuilder
Methods
Eq(System.String)
The text of the "equal" filter operator.
Parameters
value - System.String
The value that configures the eq.
Neq(System.String)
The text of the "not equal" filter operator.
Parameters
value - System.String
The value that configures the neq.
Custom(System.String,System.Action)
Configures a custom operator
Parameters
name - System.String
The name of the custom operator.
configurator - System.Action<CustomFilterOperatorBuilder>
The configurator for the custom operator.
Example
@(Html.Kendo().Filter<ProductViewModel>()
.Name("filter")
.Operators(operators =>
{
operators.Boolean(s =>
{
s.Custom("CustomOperator", c => c.Text("Custom Operator").Handler("customOperatorHandler"));
}
);
})
)