FilterOperatorsStringSettingsBuilder
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.String(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
Isempty(System.String)
The text of the "isempty" filter operator.
Parameters
value - System.String
The value for Isempty
Isnotempty(System.String)
The text of the "isnotempty" filter operator.
Parameters
value - System.String
The value for Isnotempty
Startswith(System.String)
The text of the "starts with" filter operator.
Parameters
value - System.String
The value for Startswith
Contains(System.String)
The text of the "contains" filter operator.
Parameters
value - System.String
The value for Contains
Doesnotcontain(System.String)
The text of the "does not contain" filter operator.
Parameters
value - System.String
The value for Doesnotcontain
Endswith(System.String)
The text of the "ends with" filter operator.
Parameters
value - System.String
The value for Endswith
Isnullorempty(System.String)
The text of the "isnullorempty" filter operator.
Parameters
value - System.String
The value for Isnullorempty
Isnotnullorempty(System.String)
The text of the "isnotnullorempty" filter operator.
Parameters
value - System.String
The value for Isnotnullorempty