From f8fd81492da2c413ebae4a184ae4ac7b6c889881 Mon Sep 17 00:00:00 2001 From: Nadezhda Tacheva Date: Tue, 14 Jun 2022 19:09:26 +0300 Subject: [PATCH 1/4] docs(filter, gantt, grid, treelist):Filtering enhancements --- _contentTemplates/common/filtering.md | 2 ++ components/filter/fields/overview.md | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/_contentTemplates/common/filtering.md b/_contentTemplates/common/filtering.md index 4b650156a7..99cb1c1c8a 100644 --- a/_contentTemplates/common/filtering.md +++ b/_contentTemplates/common/filtering.md @@ -5,6 +5,7 @@ | Parameter | Type and Default Value | Description | | --- | --- | --- | | `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. +| `FilterOperators` | `List` | Specifies the available operators. Must contain only [supported filter operators]({%slug common-features-filter-operators%}) for the specific data type. If not defined, a default list of available operators will be used based on the field type. | `ShowFilterCellButtons` | `bool`
(`true`) | controls the visibility of the filter buttons #end @@ -15,6 +16,7 @@ | Parameter | Type and Default Value | Description | ----------- | ----------- | -----------| | `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. +| `FilterOperators` | `List` | Specifies the available operators. Must contain only [supported filter operators]({%slug common-features-filter-operators%}) for the specific data type. If not defined, a default list of available operators will be used based on the field type. #end #filter-debounce-delay-customization diff --git a/components/filter/fields/overview.md b/components/filter/fields/overview.md index 1772b27253..f2b21ebe86 100644 --- a/components/filter/fields/overview.md +++ b/components/filter/fields/overview.md @@ -15,9 +15,12 @@ You can define different Fields settings. For example, names, labels, and [filte The following parameters enable you to customize the appearance of the Blazor Filter Fields: +@[template](/_contentTemplates/common/parameters-table-styles.md#table-layout) + | Parameter | Type | Description | | ----------- | ----------- | ----------- | -| `Name` | `string` | Specifies the name of the field which will be used when filtering. | -| `Type` | `Type` | Specifies the type of the field for the filtering, based on which an editor will be created.| +| `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. | `Label` | `string` | Specifies the string displayed for the given field. | -| `Operators` | `IEnumerable` | 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. | \ No newline at end of file +| `Name` | `string` | Specifies the name of the field which will be used when filtering. | +| `Operators` | `IEnumerable` | 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. | +| `Type` | `Type` | Specifies the type of the field for the filtering, based on which an editor will be created.| \ No newline at end of file From 7e0d03074fa266e8802e95b0497c9f0b42c244af Mon Sep 17 00:00:00 2001 From: Nadezhda Tacheva <73842592+ntacheva@users.noreply.github.com> Date: Mon, 20 Jun 2022 18:20:23 +0300 Subject: [PATCH 2/4] Update components/filter/fields/overview.md Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> --- components/filter/fields/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/filter/fields/overview.md b/components/filter/fields/overview.md index f2b21ebe86..4ab581d8e5 100644 --- a/components/filter/fields/overview.md +++ b/components/filter/fields/overview.md @@ -21,6 +21,6 @@ The following parameters enable you to customize the appearance of the Blazor Fi | ----------- | ----------- | ----------- | | `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. | `Label` | `string` | Specifies the string displayed for the given field. | -| `Name` | `string` | Specifies the name of the field which will be used when filtering. | +| `Name` | `string` | Specifies the field to be used when filtering. | | `Operators` | `IEnumerable` | 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. | | `Type` | `Type` | Specifies the type of the field for the filtering, based on which an editor will be created.| \ No newline at end of file From 89dc2ebf2f98b0f7bdd71cb4302c4499232e4f0d Mon Sep 17 00:00:00 2001 From: Nadezhda Tacheva <73842592+ntacheva@users.noreply.github.com> Date: Mon, 20 Jun 2022 18:20:41 +0300 Subject: [PATCH 3/4] Update components/filter/fields/overview.md Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> --- components/filter/fields/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/filter/fields/overview.md b/components/filter/fields/overview.md index 4ab581d8e5..8f0a46bf21 100644 --- a/components/filter/fields/overview.md +++ b/components/filter/fields/overview.md @@ -23,4 +23,4 @@ The following parameters enable you to customize the appearance of the Blazor Fi | `Label` | `string` | Specifies the string displayed for the given field. | | `Name` | `string` | Specifies the field to be used when filtering. | | `Operators` | `IEnumerable` | 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. | -| `Type` | `Type` | Specifies the type of the field for the filtering, based on which an editor will be created.| \ No newline at end of file +| `Type` | `Type` | Specifies the field type. This will determine the filter value editor. | \ No newline at end of file From c176fea3f700a986e8ef2d5354517749cf076abf Mon Sep 17 00:00:00 2001 From: Nadezhda Tacheva Date: Mon, 20 Jun 2022 18:29:18 +0300 Subject: [PATCH 4/4] docs(filter, gantt, grid, treelist):update wording --- _contentTemplates/common/filtering.md | 4 ++-- components/filter/fields/overview.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_contentTemplates/common/filtering.md b/_contentTemplates/common/filtering.md index 99cb1c1c8a..8c3067d4e6 100644 --- a/_contentTemplates/common/filtering.md +++ b/_contentTemplates/common/filtering.md @@ -5,7 +5,7 @@ | Parameter | Type and Default Value | Description | | --- | --- | --- | | `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. -| `FilterOperators` | `List` | Specifies the available operators. Must contain only [supported filter operators]({%slug common-features-filter-operators%}) for the specific data type. If not defined, a default list of available operators will be used based on the field type. +| `FilterOperators` | `List` | 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. | `ShowFilterCellButtons` | `bool`
(`true`) | controls the visibility of the filter buttons #end @@ -16,7 +16,7 @@ | Parameter | Type and Default Value | Description | ----------- | ----------- | -----------| | `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. -| `FilterOperators` | `List` | Specifies the available operators. Must contain only [supported filter operators]({%slug common-features-filter-operators%}) for the specific data type. If not defined, a default list of available operators will be used based on the field type. +| `FilterOperators` | `List` | 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. #end #filter-debounce-delay-customization diff --git a/components/filter/fields/overview.md b/components/filter/fields/overview.md index 8f0a46bf21..af89a7ec3b 100644 --- a/components/filter/fields/overview.md +++ b/components/filter/fields/overview.md @@ -22,5 +22,5 @@ The following parameters enable you to customize the appearance of the Blazor Fi | `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. | `Label` | `string` | Specifies the string displayed for the given field. | | `Name` | `string` | Specifies the field to be used when filtering. | -| `Operators` | `IEnumerable` | 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. | +| `Operators` | `IEnumerable` | 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. | | `Type` | `Type` | Specifies the field type. This will determine the filter value editor. | \ No newline at end of file