MudDataGrid - filters added via AddFilterAsync do not show filter criteria in filter row
#7,371 建立於 2023年8月18日
倉庫指標
- 星標
- (10,394 顆星)
- PR 合併指標
- (平均合併 6天 6小時) (30 天內合併 108 個 PR)
描述
Bug type
Component
Component name
MudDataGrid
What happened?
When I programmatically use AddFilterAsync to add filters to MudDataGrid, I would expect the filter criteria to be populated into the filter row on the report, and indicate on the filter icons that the column is filtered. Instead, the filter is applied to the data grid, but there is no indication that the grid is filtered.
Expected behavior
Filter criteria populated in filter row. For example, if there is a text box for filtering, and you added a string filter definition, the string should be shown in the filter. In addition, the filter icon should change to indicate the column is filtered.
Reproduction link
ColumnFilterRow: (https://try.mudblazor.com/snippet/mOmnEsmlpLqqydsS) ColumnFilterMenu: https://try.mudblazor.com/snippet/QYmxEMwlpBXHKdsO
Reproduction steps
n/a
Relevant log output
No response
Version (bug)
6.2.3
Version (working)
No response
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request
- I would like to do a Pull Request
Code of Conduct
- I agree to follow this project's Code of Conduct