Skip to content

Commit 2e5442e

Browse files
ntachevadimodi
andauthored
[3.4] docs(filter, gantt, grid, treelist):Filtering enhancements (#995)
* docs(filter, gantt, grid, treelist):Filtering enhancements * Update components/filter/fields/overview.md Co-authored-by: Dimo Dimov <[email protected]> * Update components/filter/fields/overview.md Co-authored-by: Dimo Dimov <[email protected]> * docs(filter, gantt, grid, treelist):update wording Co-authored-by: Dimo Dimov <[email protected]>
1 parent 09a596b commit 2e5442e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

_contentTemplates/common/filtering.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| Parameter | Type and Default Value | Description |
66
| --- | --- | --- |
77
| `DefaultFilterOperator` | `FilterOperator` | Sets the default filter operator in the column it is declared for. Accepts a member of the `FilterOperator` enum. The selected operator must be applicable for the specific data type. Check the supported options in the [Filter Operators]({%slug common-features-filter-operators%}) article.
8+
| `FilterOperators` | `List<FilterListOperator>` | Specifies the available operators. Must contain only [supported filter operators]({%slug common-features-filter-operators%}) for the specific data type. If not defined, the component will use a default list of available operators based on the field type.
89
| `ShowFilterCellButtons` | `bool` <br/> (`true`) | controls the visibility of the filter buttons
910
#end
1011

@@ -15,6 +16,7 @@
1516
| Parameter | Type and Default Value | Description
1617
| ----------- | ----------- | -----------|
1718
| `DefaultFilterOperator` | `FilterOperator` | Sets the default filter operator in the column it is declared for. Accepts a member of the `FilterOperator` enum. The selected operator must be applicable for the specific data type Check the supported options in the [Filter Operators]({%slug common-features-filter-operators%}) article. The provided default filter operator will be applied for both filters in the menu.
19+
| `FilterOperators` | `List<FilterListOperator>` | Specifies the available operators. Must contain only [supported filter operators]({%slug common-features-filter-operators%}) for the specific data type. If not defined, the component will use a default list of available operators based on the field type.
1820
#end
1921

2022
#filter-debounce-delay-customization

components/filter/fields/overview.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ You can define different Fields settings. For example, names, labels, and [filte
1515

1616
The following parameters enable you to customize the appearance of the Blazor Filter Fields:
1717

18+
@[template](/_contentTemplates/common/parameters-table-styles.md#table-layout)
19+
1820
| Parameter | Type | Description |
1921
| ----------- | ----------- | ----------- |
20-
| `Name` | `string` | Specifies the name of the field which will be used when filtering. |
21-
| `Type` | `Type` | Specifies the type of the field for the filtering, based on which an editor will be created.|
22+
| `DefaultFilterOperator` | `FilterOperator` | Sets the default filter operator for the Field. Accepts a member of the `FilterOperator` enum. The selected operator must be applicable for the specific data type. Check the supported options in the [Filter Operators]({%slug common-features-filter-operators%}) article.
2223
| `Label` | `string` | Specifies the string displayed for the given field. |
23-
| `Operators` | `IEnumerable<FilterListOperator>` | Specifies the [available filter operators]({%slug filter-operators%}#supported-fields-operators). If not defined, a default list of available operators given the field type will be used. |
24+
| `Name` | `string` | Specifies the field to be used when filtering. |
25+
| `Operators` | `IEnumerable<FilterListOperator>` | Specifies the [available filter operators]({%slug filter-operators%}#supported-fields-operators). If not defined, the component will use a default list of available operators based on the field type. |
26+
| `Type` | `Type` | Specifies the field type. This will determine the filter value editor. |

0 commit comments

Comments
 (0)