FilterOperatorsNumberSettingsBuilder
Methods
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.Number(s =>
{
s.Custom("CustomOperator", c => c.Text("Custom Operator").Handler("customOperatorHandler"));
}
);
})
)
Eq(System.String)
The text of the "equal" filter operator.
Parameters
value - System.String
The value for Eq
Neq(System.String)
The text of the "not equal" filter operator.
Parameters
value - System.String
The value for Neq
Isnull(System.String)
The text of the "isnull" filter operator.
Parameters
value - System.String
The value for Isnull
Isnotnull(System.String)
The text of the "isnotnull" filter operator.
Parameters
value - System.String
The value for Isnotnull
Gte(System.String)
The text of the "greater than or equal" filter operator.
Parameters
value - System.String
The value for Gte
Gt(System.String)
The text of the "greater than" filter operator.
Parameters
value - System.String
The value for Gt
Lte(System.String)
The text of the "less than or equal" filter operator.
Parameters
value - System.String
The value for Lte
Lt(System.String)
The text of the "less than" filter operator.
Parameters
value - System.String
The value for Lt