FilterTagHelper
Example
Razor
<kendo-filter>
<fields></fields>
<messages />
<operators></operators>
</kendo-filter>
ChildTags
| Tag Name | Details |
|---|---|
| fields | FilterFieldsTagHelper |
| messages | FilterMessagesSettingsTagHelper |
| operators | FilterOperatorsSettingsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | Sets the name of the component. |
| apply-button | Boolean | If set to true the filter will display a button which when clicked will apply filtering over the datasource. |
| datasource-id | String | The Id of the data source. |
| expression | CompositeFilterDescriptor | An object which represents a filter expression which the kendo.data.DataSource can use to filter the data. |
| expression-preview | Boolean | If set to true the filter will visualize the filter expression that will be applied to the datasource. |
| main-logic | FilterCompositionLogicalOperator | Defines the value of the logical operator at the root level of the filter expression. |
| on-change | String | The name of the JavaScript function that will handle the change event. Fired when the generated filter expression is changed. |
| script-attributes | IDictionary<String,Object> | Sets the attributes that will be added to the script tag of the component's initialization script. |
| is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
| deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
| as-module | Boolean | Specifies whether the initialization script of the component will be rendered as a JavaScript module. |