Skip to content

Commit 3658426

Browse files
committed
doc: update OnFilterAsync documentation
1 parent a0fea3f commit 3658426

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/BootstrapBlazor.Server/Components/Samples/Table/TablesFilter.razor

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
<ul class="ul-demo mb-3">
107107
<li>@((MarkupString)Localizer["DefaultSortLi1"].Value)</li>
108108
<li>@((MarkupString)Localizer["DefaultSortLi2"].Value)</li>
109-
<li>@((MarkupString)Localizer["DefaultSortLi3"].Value)</li>
110109
</ul>
111110
<p>@Localizer["DefaultSortP"]</p>
112111
</section>

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5702,7 +5702,6 @@
57025702
"DefaultSortIntro": "Default sorts as default when setting the <code>DefaultSort</code> property value to <code>true</code>",
57035703
"DefaultSortLi1": "Set <code>DefaultSort=true</code> to enable the default sort function, when multiple columns set this property, the first column works",
57045704
"DefaultSortLi2": "Set <code>DefaultSortOrder</code> value, set default collation",
5705-
"DefaultSortLi3": "Before <code>v9.6.2</code>, use <code>OnFilterValueChanged</code> to trigger the filter callback. After refactoring, use <code>OnFilterAsync</code> to trigger the filter callback method.",
57065705
"DefaultSortP": "In this case the default sort is the last column in reverse order",
57075706
"SortListTitle": "Multi-column sort",
57085707
"SortListIntro": "Set <code>the SortList</code> property, use this parameter for multi-column sorting when the table loads",
@@ -5716,7 +5715,7 @@
57165715
"SetFilterInCodeIntro": "Example shows how to set filters through code",
57175716
"SetFilterInCodeButtonText1": "Name contains 01",
57185717
"SetFilterInCodeButtonText2": "Reset All Filter",
5719-
"TablesFilterTemplateDescription": "<p><code>The FilterTemplate</code> type is <code>RenderFragment</code> <span>its value is a custom component, and the component must inherit</span> <code>the filterBase</code> In this case, the last column in this case<b>, the Quantity column</b>, uses the <code>custom component by filtering the template CustomerFilter</code> <a href=\"{0}\" target=\"_blank\">[portal] CustomerFilter component source code</a></p><p class=\"code-label\">Notes:</p><ul class=\"ul-demo\"><li>Custom filter components are wrapped with <code>FilterProvider</code>, and <code>FilterProvider</code> must be under the <code>FilterTemplate</code> node</li><li>Filters can be fine-tuned through the parameters of the <code>FilterProvider</code> component; for example, by setting <code>ShowMoreButton</code> to control whether the <b>+ -</b> symbol is displayed</li></ul-demo>",
5718+
"TablesFilterTemplateDescription": "<p><code>The FilterTemplate</code> type is <code>RenderFragment</code> <span>its value is a custom component, and the component must inherit</span> <code>the filterBase</code> In this case, the last column in this case<b>, the Quantity column</b>, uses the <code>custom component by filtering the template CustomerFilter</code> <a href=\"{0}\" target=\"_blank\">[portal] CustomerFilter component source code</a></p><p class=\"code-label\">Notes:</p><ul class=\"ul-demo\"><li>Custom filter components are wrapped with <code>FilterProvider</code>, and <code>FilterProvider</code> must be under the <code>FilterTemplate</code> node</li><li>Filters can be fine-tuned through the parameters of the <code>FilterProvider</code> component; for example, by setting <code>ShowMoreButton</code> to control whether the <b>+ -</b> symbol is displayed</li><li>Before <code>v9.6.2</code>, use <code>OnFilterValueChanged</code> to trigger the filter callback. After refactoring, use <code>OnFilterAsync</code> to trigger the filter callback method.</li></ul-demo>",
57205719
"CustomerFilterItem1": "All",
57215720
"CustomerFilterItem2": "Greater than 10",
57225721
"CustomerFilterItem3": "Greater than 50",

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5703,7 +5703,6 @@
57035703
"DefaultSortIntro": "设置 <code>DefaultSort</code> 属性值为 <code>true</code> 时作为默认排序列",
57045704
"DefaultSortLi1": "设置 <code>DefaultSort=true</code> 开启默认排序功能,当多列设置此属性时,第一列起作用",
57055705
"DefaultSortLi2": "设置 <code>DefaultSortOrder</code> 值,设置默认排序规则",
5706-
"DefaultSortLi3": "<code>v9.6.2</code> 版本前,使用 <code>OnFilterValueChanged</code> 触发过滤回调,重构后使用 <code>OnFilterAsync</code> 触发过滤回调方法",
57075706
"DefaultSortP": "本例中默认排序为最后一列倒序排序",
57085707
"SortListTitle": "多列排序",
57095708
"SortListIntro": "设置 <code>SortList</code> 属性,表格加载时使用此参数进行多列排序",
@@ -5717,7 +5716,7 @@
57175716
"SetFilterInCodeIntro": "示例展示如何通过代码设置过滤条件",
57185717
"SetFilterInCodeButtonText1": "名称包含01",
57195718
"SetFilterInCodeButtonText2": "重置条件",
5720-
"TablesFilterTemplateDescription": "<p><code>FilterTemplate</code> 类型为 <code>RenderFragment</code> <span>其值为自定义组件,组件必须继承</span> <code>FilterBase</code> 本例中最后一列 <b>数量列</b> 通过筛选模板使用自定义组件 <code>CustomerFilter</code> <a href=\"{0}\" target=\"_blank\">[传送门] CustomerFilter 组件源码</a></p><p class=\"code-label\">注意事项:</p><ul class=\"ul-demo\"><li>自定义过滤组件使用 <code>FilterProvider</code> 包裹,<code>FilterProvider</code>必须在 <code>FilterTemplate</code> 节点下</li><li>通过 <code>FilterProvider</code> 组件的参数可微调过滤器;例如通过设置 <code>ShowMoreButton</code> 控制是否显示 <b>+ -</b> 符号</li></ul-demo>",
5719+
"TablesFilterTemplateDescription": "<p><code>FilterTemplate</code> 类型为 <code>RenderFragment</code> <span>其值为自定义组件,组件必须继承</span> <code>FilterBase</code> 本例中最后一列 <b>数量列</b> 通过筛选模板使用自定义组件 <code>CustomerFilter</code> <a href=\"{0}\" target=\"_blank\">[传送门] CustomerFilter 组件源码</a></p><p class=\"code-label\">注意事项:</p><ul class=\"ul-demo\"><li>自定义过滤组件使用 <code>FilterProvider</code> 包裹,<code>FilterProvider</code>必须在 <code>FilterTemplate</code> 节点下</li><li>通过 <code>FilterProvider</code> 组件的参数可微调过滤器;例如通过设置 <code>ShowMoreButton</code> 控制是否显示 <b>+ -</b> 符号</li><li><code>v9.6.2</code> 版本前,使用 <code>OnFilterValueChanged</code> 触发过滤回调,重构后使用 <code>OnFilterAsync</code> 触发过滤回调方法</li></ul-demo>",
57215720
"CustomerFilterItem1": "全部",
57225721
"CustomerFilterItem2": "大于 10",
57235722
"CustomerFilterItem3": "大于 50",

0 commit comments

Comments
 (0)