Skip to content

Commit d7daee6

Browse files
authored
[DataGrid] Display column's filter icon if a filter is applied (mui#4120)
1 parent 5e55a35 commit d7daee6

File tree

13 files changed

+48
-5
lines changed

13 files changed

+48
-5
lines changed

docs/pages/api-docs/data-grid/data-grid-pro.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@
306306
"columnHeader--numeric",
307307
"columnHeader--sortable",
308308
"columnHeader--sorted",
309+
"columnHeader--filtered",
309310
"columnHeader",
310311
"columnHeaderCheckbox",
311312
"columnHeaderDraggableContainer",

docs/pages/api-docs/data-grid/data-grid.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
"columnHeader--numeric",
254254
"columnHeader--sortable",
255255
"columnHeader--sorted",
256+
"columnHeader--filtered",
256257
"columnHeader",
257258
"columnHeaderCheckbox",
258259
"columnHeaderDraggableContainer",

docs/pages/x/api/data-grid/data-grid-pro.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@
306306
"columnHeader--numeric",
307307
"columnHeader--sortable",
308308
"columnHeader--sorted",
309+
"columnHeader--filtered",
309310
"columnHeader",
310311
"columnHeaderCheckbox",
311312
"columnHeaderDraggableContainer",

docs/pages/x/api/data-grid/data-grid.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@
253253
"columnHeader--numeric",
254254
"columnHeader--sortable",
255255
"columnHeader--sorted",
256+
"columnHeader--filtered",
256257
"columnHeader",
257258
"columnHeaderCheckbox",
258259
"columnHeaderDraggableContainer",

docs/translations/api-docs/data-grid/data-grid-pro-pt.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@
218218
"nodeName": "the column header",
219219
"conditions": "the column is sorted"
220220
},
221+
"columnHeader--filtered": {
222+
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
223+
"nodeName": "the column header",
224+
"conditions": "the column has a filter applied to it"
225+
},
221226
"columnHeader": {
222227
"description": "Styles applied to {{nodeName}}.",
223228
"nodeName": "the column header element"

docs/translations/api-docs/data-grid/data-grid-pro-zh.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@
218218
"nodeName": "the column header",
219219
"conditions": "the column is sorted"
220220
},
221+
"columnHeader--filtered": {
222+
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
223+
"nodeName": "the column header",
224+
"conditions": "the column has a filter applied to it"
225+
},
221226
"columnHeader": {
222227
"description": "Styles applied to {{nodeName}}.",
223228
"nodeName": "the column header element"

docs/translations/api-docs/data-grid/data-grid-pro.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@
218218
"nodeName": "the column header",
219219
"conditions": "the column is sorted"
220220
},
221+
"columnHeader--filtered": {
222+
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
223+
"nodeName": "the column header",
224+
"conditions": "the column has a filter applied to it"
225+
},
221226
"columnHeader": {
222227
"description": "Styles applied to {{nodeName}}.",
223228
"nodeName": "the column header element"

docs/translations/api-docs/data-grid/data-grid-pt.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@
187187
"nodeName": "the column header",
188188
"conditions": "the column is sorted"
189189
},
190+
"columnHeader--filtered": {
191+
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
192+
"nodeName": "the column header",
193+
"conditions": "the column has a filter applied to it"
194+
},
190195
"columnHeader": {
191196
"description": "Styles applied to {{nodeName}}.",
192197
"nodeName": "the column header element"

docs/translations/api-docs/data-grid/data-grid-zh.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@
187187
"nodeName": "the column header",
188188
"conditions": "the column is sorted"
189189
},
190+
"columnHeader--filtered": {
191+
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
192+
"nodeName": "the column header",
193+
"conditions": "the column has a filter applied to it"
194+
},
190195
"columnHeader": {
191196
"description": "Styles applied to {{nodeName}}.",
192197
"nodeName": "the column header element"

docs/translations/api-docs/data-grid/data-grid.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,11 @@
187187
"nodeName": "the column header",
188188
"conditions": "the column is sorted"
189189
},
190+
"columnHeader--filtered": {
191+
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
192+
"nodeName": "the column header",
193+
"conditions": "the column has a filter applied to it"
194+
},
190195
"columnHeader": {
191196
"description": "Styles applied to {{nodeName}}.",
192197
"nodeName": "the column header element"

0 commit comments

Comments
 (0)