FilterOperatorsDateSettingsBuilder
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.
Isnull(System.String)
The text of the "isnull" filter operator.
Parameters
value - System.String
The value that configures the isnull.
Isnotnull(System.String)
The text of the "isnotnull" filter operator.
Parameters
value - System.String
The value that configures the isnotnull.
Gte(System.String)
The text of the "greater than or equal" filter operator.
Parameters
value - System.String
The value that configures the gte.
Gt(System.String)
The text of the "greater than" filter operator.
Parameters
value - System.String
The value that configures the gt.
Lte(System.String)
The text of the "less than or equal" filter operator.
Parameters
value - System.String
The value that configures the lte.
Lt(System.String)
The text of the "less than" filter operator.
Parameters
value - System.String
The value that configures the lt.
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.Date(s =>
{
s.Custom("CustomOperator", c => c.Text("Custom Operator").Handler("customOperatorHandler"));
}
);
})
)