@mui/x-data-grid 6.18.4 → 6.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +91 -0
- package/DataGrid/DataGrid.js +19 -19
- package/index.js +1 -1
- package/legacy/DataGrid/DataGrid.js +19 -19
- package/legacy/index.js +1 -1
- package/legacy/locales/svSE.js +31 -33
- package/legacy/locales/urPK.js +26 -28
- package/locales/svSE.js +31 -33
- package/locales/urPK.js +26 -28
- package/models/props/DataGridProps.d.ts +22 -22
- package/modern/DataGrid/DataGrid.js +19 -19
- package/modern/index.js +1 -1
- package/modern/locales/svSE.js +31 -33
- package/modern/locales/urPK.js +26 -28
- package/node/DataGrid/DataGrid.js +19 -19
- package/node/index.js +1 -1
- package/node/locales/svSE.js +31 -33
- package/node/locales/urPK.js +26 -28
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,97 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.18.6
|
|
7
|
+
|
|
8
|
+
_Dec 22, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve Russian (ru-RU) locale (#11429) @wensiet
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
### Data Grid
|
|
16
|
+
|
|
17
|
+
#### `@mui/x-data-grid@6.18.6`
|
|
18
|
+
|
|
19
|
+
- [DataGrid] Fix typos in the JSDoc (#11475) @flaviendelangle
|
|
20
|
+
- [l10n] Improve Russian (ru-RU) locale (#11429) @wensiet
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@6.18.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@6.18.6`.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-premium@6.18.6` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.6`.
|
|
29
|
+
|
|
30
|
+
### Date Pickers
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-date-pickers@6.18.6`
|
|
33
|
+
|
|
34
|
+
- [fields] Fix section pasting (#11467) @LukasTy
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers-pro@6.18.6` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-date-pickers@6.18.6`.
|
|
39
|
+
|
|
40
|
+
### Charts / `@mui/x-charts@6.18.6`
|
|
41
|
+
|
|
42
|
+
- [charts] Allow percentage values for pie chart center and radius (#11464) @alexfauquette
|
|
43
|
+
- [charts] Make error message more explicit (#11457) @alexfauquette
|
|
44
|
+
- [charts] Make the helper `ChartsText` component public (#11370) @alexfauquette
|
|
45
|
+
- [charts] Improve dataset typing (#11372) @alexfauquette
|
|
46
|
+
- [charts] Fix size overflow (#11385) @alexfauquette
|
|
47
|
+
|
|
48
|
+
### Docs
|
|
49
|
+
|
|
50
|
+
- [docs] Document false default values for boolean props (#11489) @cherniavskii
|
|
51
|
+
- [docs] Improve Pickers `name` prop examples (#11442) @LukasTy
|
|
52
|
+
- [docs] Limit `date-fns` package to v2 in codesandbox (#11478) @LukasTy
|
|
53
|
+
- [test] Reload the page if its blank and there are no links to the remaining tests (#11471) @cherniavskii
|
|
54
|
+
|
|
55
|
+
## 6.18.5
|
|
56
|
+
|
|
57
|
+
_Dec 14, 2023_
|
|
58
|
+
|
|
59
|
+
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
60
|
+
|
|
61
|
+
- 🌍 Improve Swedish (sv-SE) and Urdu (ur-PK) locales on the Data Grid
|
|
62
|
+
- 🐞 Bugfixes
|
|
63
|
+
|
|
64
|
+
### Data Grid
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-data-grid@6.18.5`
|
|
67
|
+
|
|
68
|
+
- [l10n] Improve Swedish (sv-SE) locale (#11379) @fredrikcarlbom
|
|
69
|
+
- [l10n] Improve Urdu (ur-PK) locale for data grid (#11409) @MBilalShafi
|
|
70
|
+
|
|
71
|
+
#### `@mui/x-data-grid-pro@6.18.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
72
|
+
|
|
73
|
+
Same changes as in `@mui/x-data-grid@6.18.5`.
|
|
74
|
+
|
|
75
|
+
#### `@mui/x-data-grid-premium@6.18.5` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
76
|
+
|
|
77
|
+
Same changes as in `@mui/x-data-grid-pro@6.18.5`.
|
|
78
|
+
|
|
79
|
+
### Date Pickers
|
|
80
|
+
|
|
81
|
+
#### `@mui/x-date-pickers@6.18.5`
|
|
82
|
+
|
|
83
|
+
- [pickers] Fix field types to avoid error on latest `@types/react` version (#11398) @LukasTy
|
|
84
|
+
- [pickers] Support name prop (#11380) @gitstart
|
|
85
|
+
|
|
86
|
+
#### `@mui/x-date-pickers-pro@6.18.5` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
87
|
+
|
|
88
|
+
Same changes as in `@mui/x-date-pickers@6.18.5`, plus:
|
|
89
|
+
|
|
90
|
+
- [DateRangePicker] Fix `autoFocus` behavior (#11376) @kealjones-wk
|
|
91
|
+
|
|
92
|
+
### Docs
|
|
93
|
+
|
|
94
|
+
- [docs] Respect GoT books (#11294) @janoma
|
|
95
|
+
- [test] Fix flaky screenshots (#11391) @cherniavskii
|
|
96
|
+
|
|
6
97
|
## 6.18.4
|
|
7
98
|
|
|
8
99
|
_Dec 8, 2023_
|
package/DataGrid/DataGrid.js
CHANGED
|
@@ -53,21 +53,21 @@ DataGridRaw.propTypes = {
|
|
|
53
53
|
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
54
54
|
// ----------------------------------------------------------------------
|
|
55
55
|
/**
|
|
56
|
-
* The ref object that allows
|
|
56
|
+
* The ref object that allows Data Grid manipulation. Can be instantiated with `useGridApiRef()`.
|
|
57
57
|
*/
|
|
58
58
|
apiRef: PropTypes.shape({
|
|
59
59
|
current: PropTypes.object.isRequired
|
|
60
60
|
}),
|
|
61
61
|
/**
|
|
62
|
-
* The label of the
|
|
62
|
+
* The label of the Data Grid.
|
|
63
63
|
*/
|
|
64
64
|
'aria-label': PropTypes.string,
|
|
65
65
|
/**
|
|
66
|
-
* The id of the element containing a label for the
|
|
66
|
+
* The id of the element containing a label for the Data Grid.
|
|
67
67
|
*/
|
|
68
68
|
'aria-labelledby': PropTypes.string,
|
|
69
69
|
/**
|
|
70
|
-
* If `true`, the
|
|
70
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
71
71
|
* @default false
|
|
72
72
|
*/
|
|
73
73
|
autoHeight: PropTypes.bool,
|
|
@@ -81,7 +81,7 @@ DataGridRaw.propTypes = {
|
|
|
81
81
|
*/
|
|
82
82
|
cellModesModel: PropTypes.object,
|
|
83
83
|
/**
|
|
84
|
-
* If `true`, the
|
|
84
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
87
|
checkboxSelection: PropTypes.bool,
|
|
@@ -101,7 +101,7 @@ DataGridRaw.propTypes = {
|
|
|
101
101
|
columnBuffer: PropTypes.number,
|
|
102
102
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
103
103
|
/**
|
|
104
|
-
* Sets the height in pixel of the column headers in the
|
|
104
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
105
105
|
* @default 56
|
|
106
106
|
*/
|
|
107
107
|
columnHeaderHeight: PropTypes.number,
|
|
@@ -121,8 +121,8 @@ DataGridRaw.propTypes = {
|
|
|
121
121
|
*/
|
|
122
122
|
columnThreshold: PropTypes.number,
|
|
123
123
|
/**
|
|
124
|
-
* Set the column visibility model of the
|
|
125
|
-
* If defined, the
|
|
124
|
+
* Set the column visibility model of the Data Grid.
|
|
125
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
126
126
|
*/
|
|
127
127
|
columnVisibilityModel: PropTypes.object,
|
|
128
128
|
/**
|
|
@@ -136,7 +136,7 @@ DataGridRaw.propTypes = {
|
|
|
136
136
|
*/
|
|
137
137
|
componentsProps: PropTypes.object,
|
|
138
138
|
/**
|
|
139
|
-
* Set the density of the
|
|
139
|
+
* Set the density of the Data Grid.
|
|
140
140
|
* @default "standard"
|
|
141
141
|
*/
|
|
142
142
|
density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -202,7 +202,7 @@ DataGridRaw.propTypes = {
|
|
|
202
202
|
*/
|
|
203
203
|
filterMode: PropTypes.oneOf(['client', 'server']),
|
|
204
204
|
/**
|
|
205
|
-
* Set the filter model of the
|
|
205
|
+
* Set the filter model of the Data Grid.
|
|
206
206
|
*/
|
|
207
207
|
filterModel: PropTypes.shape({
|
|
208
208
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -217,7 +217,7 @@ DataGridRaw.propTypes = {
|
|
|
217
217
|
quickFilterValues: PropTypes.array
|
|
218
218
|
}),
|
|
219
219
|
/**
|
|
220
|
-
* Forwarded props for the
|
|
220
|
+
* Forwarded props for the Data Grid root element.
|
|
221
221
|
* @ignore - do not document.
|
|
222
222
|
*/
|
|
223
223
|
forwardedProps: PropTypes.object,
|
|
@@ -314,7 +314,7 @@ DataGridRaw.propTypes = {
|
|
|
314
314
|
*/
|
|
315
315
|
loading: PropTypes.bool,
|
|
316
316
|
/**
|
|
317
|
-
* Set the locale text of the
|
|
317
|
+
* Set the locale text of the Data Grid.
|
|
318
318
|
* You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
|
|
319
319
|
*/
|
|
320
320
|
localeText: PropTypes.object,
|
|
@@ -482,7 +482,7 @@ DataGridRaw.propTypes = {
|
|
|
482
482
|
*/
|
|
483
483
|
onProcessRowUpdateError: PropTypes.func,
|
|
484
484
|
/**
|
|
485
|
-
* Callback fired when the
|
|
485
|
+
* Callback fired when the Data Grid is resized.
|
|
486
486
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
487
487
|
* @param {MuiEvent<{}>} event The event object.
|
|
488
488
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -540,7 +540,7 @@ DataGridRaw.propTypes = {
|
|
|
540
540
|
*/
|
|
541
541
|
onSortModelChange: PropTypes.func,
|
|
542
542
|
/**
|
|
543
|
-
* Callback fired when the state of the
|
|
543
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
544
544
|
* @param {GridState} state The new state.
|
|
545
545
|
* @param {MuiEvent<{}>} event The event object.
|
|
546
546
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -594,7 +594,7 @@ DataGridRaw.propTypes = {
|
|
|
594
594
|
*/
|
|
595
595
|
rowCount: PropTypes.number,
|
|
596
596
|
/**
|
|
597
|
-
* Sets the height in pixel of a row in the
|
|
597
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
598
598
|
* @default 52
|
|
599
599
|
*/
|
|
600
600
|
rowHeight: PropTypes.number,
|
|
@@ -619,7 +619,7 @@ DataGridRaw.propTypes = {
|
|
|
619
619
|
*/
|
|
620
620
|
rowSelection: PropTypes.bool,
|
|
621
621
|
/**
|
|
622
|
-
* Sets the row selection model of the
|
|
622
|
+
* Sets the row selection model of the Data Grid.
|
|
623
623
|
*/
|
|
624
624
|
rowSelectionModel: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired), PropTypes.number, PropTypes.string]),
|
|
625
625
|
/**
|
|
@@ -633,7 +633,7 @@ DataGridRaw.propTypes = {
|
|
|
633
633
|
*/
|
|
634
634
|
rowThreshold: PropTypes.number,
|
|
635
635
|
/**
|
|
636
|
-
* Override the height/width of the
|
|
636
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
637
637
|
*/
|
|
638
638
|
scrollbarSize: PropTypes.number,
|
|
639
639
|
/**
|
|
@@ -667,7 +667,7 @@ DataGridRaw.propTypes = {
|
|
|
667
667
|
*/
|
|
668
668
|
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
669
669
|
/**
|
|
670
|
-
* Set the sort model of the
|
|
670
|
+
* Set the sort model of the Data Grid.
|
|
671
671
|
*/
|
|
672
672
|
sortModel: PropTypes.arrayOf(PropTypes.shape({
|
|
673
673
|
field: PropTypes.string.isRequired,
|
|
@@ -678,7 +678,7 @@ DataGridRaw.propTypes = {
|
|
|
678
678
|
*/
|
|
679
679
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
680
680
|
/**
|
|
681
|
-
* If `true`, the
|
|
681
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
682
682
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
683
683
|
* @default false
|
|
684
684
|
*/
|
package/index.js
CHANGED
|
@@ -53,21 +53,21 @@ DataGridRaw.propTypes = {
|
|
|
53
53
|
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
54
54
|
// ----------------------------------------------------------------------
|
|
55
55
|
/**
|
|
56
|
-
* The ref object that allows
|
|
56
|
+
* The ref object that allows Data Grid manipulation. Can be instantiated with `useGridApiRef()`.
|
|
57
57
|
*/
|
|
58
58
|
apiRef: PropTypes.shape({
|
|
59
59
|
current: PropTypes.object.isRequired
|
|
60
60
|
}),
|
|
61
61
|
/**
|
|
62
|
-
* The label of the
|
|
62
|
+
* The label of the Data Grid.
|
|
63
63
|
*/
|
|
64
64
|
'aria-label': PropTypes.string,
|
|
65
65
|
/**
|
|
66
|
-
* The id of the element containing a label for the
|
|
66
|
+
* The id of the element containing a label for the Data Grid.
|
|
67
67
|
*/
|
|
68
68
|
'aria-labelledby': PropTypes.string,
|
|
69
69
|
/**
|
|
70
|
-
* If `true`, the
|
|
70
|
+
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
|
|
71
71
|
* @default false
|
|
72
72
|
*/
|
|
73
73
|
autoHeight: PropTypes.bool,
|
|
@@ -81,7 +81,7 @@ DataGridRaw.propTypes = {
|
|
|
81
81
|
*/
|
|
82
82
|
cellModesModel: PropTypes.object,
|
|
83
83
|
/**
|
|
84
|
-
* If `true`, the
|
|
84
|
+
* If `true`, the Data Grid will display an extra column with checkboxes for selecting rows.
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
87
|
checkboxSelection: PropTypes.bool,
|
|
@@ -101,7 +101,7 @@ DataGridRaw.propTypes = {
|
|
|
101
101
|
columnBuffer: PropTypes.number,
|
|
102
102
|
columnGroupingModel: PropTypes.arrayOf(PropTypes.object),
|
|
103
103
|
/**
|
|
104
|
-
* Sets the height in pixel of the column headers in the
|
|
104
|
+
* Sets the height in pixel of the column headers in the Data Grid.
|
|
105
105
|
* @default 56
|
|
106
106
|
*/
|
|
107
107
|
columnHeaderHeight: PropTypes.number,
|
|
@@ -123,8 +123,8 @@ DataGridRaw.propTypes = {
|
|
|
123
123
|
*/
|
|
124
124
|
columnThreshold: PropTypes.number,
|
|
125
125
|
/**
|
|
126
|
-
* Set the column visibility model of the
|
|
127
|
-
* If defined, the
|
|
126
|
+
* Set the column visibility model of the Data Grid.
|
|
127
|
+
* If defined, the Data Grid will ignore the `hide` property in [[GridColDef]].
|
|
128
128
|
*/
|
|
129
129
|
columnVisibilityModel: PropTypes.object,
|
|
130
130
|
/**
|
|
@@ -138,7 +138,7 @@ DataGridRaw.propTypes = {
|
|
|
138
138
|
*/
|
|
139
139
|
componentsProps: PropTypes.object,
|
|
140
140
|
/**
|
|
141
|
-
* Set the density of the
|
|
141
|
+
* Set the density of the Data Grid.
|
|
142
142
|
* @default "standard"
|
|
143
143
|
*/
|
|
144
144
|
density: PropTypes.oneOf(['comfortable', 'compact', 'standard']),
|
|
@@ -204,7 +204,7 @@ DataGridRaw.propTypes = {
|
|
|
204
204
|
*/
|
|
205
205
|
filterMode: PropTypes.oneOf(['client', 'server']),
|
|
206
206
|
/**
|
|
207
|
-
* Set the filter model of the
|
|
207
|
+
* Set the filter model of the Data Grid.
|
|
208
208
|
*/
|
|
209
209
|
filterModel: PropTypes.shape({
|
|
210
210
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
@@ -219,7 +219,7 @@ DataGridRaw.propTypes = {
|
|
|
219
219
|
quickFilterValues: PropTypes.array
|
|
220
220
|
}),
|
|
221
221
|
/**
|
|
222
|
-
* Forwarded props for the
|
|
222
|
+
* Forwarded props for the Data Grid root element.
|
|
223
223
|
* @ignore - do not document.
|
|
224
224
|
*/
|
|
225
225
|
forwardedProps: PropTypes.object,
|
|
@@ -316,7 +316,7 @@ DataGridRaw.propTypes = {
|
|
|
316
316
|
*/
|
|
317
317
|
loading: PropTypes.bool,
|
|
318
318
|
/**
|
|
319
|
-
* Set the locale text of the
|
|
319
|
+
* Set the locale text of the Data Grid.
|
|
320
320
|
* You can find all the translation keys supported in [the source](https://github.com/mui/mui-x/blob/HEAD/packages/grid/x-data-grid/src/constants/localeTextConstants.ts) in the GitHub repository.
|
|
321
321
|
*/
|
|
322
322
|
localeText: PropTypes.object,
|
|
@@ -484,7 +484,7 @@ DataGridRaw.propTypes = {
|
|
|
484
484
|
*/
|
|
485
485
|
onProcessRowUpdateError: PropTypes.func,
|
|
486
486
|
/**
|
|
487
|
-
* Callback fired when the
|
|
487
|
+
* Callback fired when the Data Grid is resized.
|
|
488
488
|
* @param {ElementSize} containerSize With all properties from [[ElementSize]].
|
|
489
489
|
* @param {MuiEvent<{}>} event The event object.
|
|
490
490
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -542,7 +542,7 @@ DataGridRaw.propTypes = {
|
|
|
542
542
|
*/
|
|
543
543
|
onSortModelChange: PropTypes.func,
|
|
544
544
|
/**
|
|
545
|
-
* Callback fired when the state of the
|
|
545
|
+
* Callback fired when the state of the Data Grid is updated.
|
|
546
546
|
* @param {GridState} state The new state.
|
|
547
547
|
* @param {MuiEvent<{}>} event The event object.
|
|
548
548
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
@@ -596,7 +596,7 @@ DataGridRaw.propTypes = {
|
|
|
596
596
|
*/
|
|
597
597
|
rowCount: PropTypes.number,
|
|
598
598
|
/**
|
|
599
|
-
* Sets the height in pixel of a row in the
|
|
599
|
+
* Sets the height in pixel of a row in the Data Grid.
|
|
600
600
|
* @default 52
|
|
601
601
|
*/
|
|
602
602
|
rowHeight: PropTypes.number,
|
|
@@ -621,7 +621,7 @@ DataGridRaw.propTypes = {
|
|
|
621
621
|
*/
|
|
622
622
|
rowSelection: PropTypes.bool,
|
|
623
623
|
/**
|
|
624
|
-
* Sets the row selection model of the
|
|
624
|
+
* Sets the row selection model of the Data Grid.
|
|
625
625
|
*/
|
|
626
626
|
rowSelectionModel: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired), PropTypes.number, PropTypes.string]),
|
|
627
627
|
/**
|
|
@@ -635,7 +635,7 @@ DataGridRaw.propTypes = {
|
|
|
635
635
|
*/
|
|
636
636
|
rowThreshold: PropTypes.number,
|
|
637
637
|
/**
|
|
638
|
-
* Override the height/width of the
|
|
638
|
+
* Override the height/width of the Data Grid inner scrollbar.
|
|
639
639
|
*/
|
|
640
640
|
scrollbarSize: PropTypes.number,
|
|
641
641
|
/**
|
|
@@ -669,7 +669,7 @@ DataGridRaw.propTypes = {
|
|
|
669
669
|
*/
|
|
670
670
|
sortingOrder: PropTypes.arrayOf(PropTypes.oneOf(['asc', 'desc'])),
|
|
671
671
|
/**
|
|
672
|
-
* Set the sort model of the
|
|
672
|
+
* Set the sort model of the Data Grid.
|
|
673
673
|
*/
|
|
674
674
|
sortModel: PropTypes.arrayOf(PropTypes.shape({
|
|
675
675
|
field: PropTypes.string.isRequired,
|
|
@@ -680,7 +680,7 @@ DataGridRaw.propTypes = {
|
|
|
680
680
|
*/
|
|
681
681
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
682
682
|
/**
|
|
683
|
-
* If `true`, the
|
|
683
|
+
* If `true`, the Data Grid will not use `valueFormatter` when exporting to CSV or copying to clipboard.
|
|
684
684
|
* If an object is provided, you can choose to ignore the `valueFormatter` for CSV export or clipboard export.
|
|
685
685
|
* @default false
|
|
686
686
|
*/
|
package/legacy/index.js
CHANGED
package/legacy/locales/svSE.js
CHANGED
|
@@ -9,7 +9,7 @@ var svSEGrid = {
|
|
|
9
9
|
toolbarDensityLabel: 'Densitet',
|
|
10
10
|
toolbarDensityCompact: 'Kompakt',
|
|
11
11
|
toolbarDensityStandard: 'Standard',
|
|
12
|
-
toolbarDensityComfortable: '
|
|
12
|
+
toolbarDensityComfortable: 'Luftig',
|
|
13
13
|
// Columns selector toolbar button text
|
|
14
14
|
toolbarColumns: 'Kolumner',
|
|
15
15
|
toolbarColumnsLabel: 'Välj kolumner',
|
|
@@ -41,8 +41,8 @@ var svSEGrid = {
|
|
|
41
41
|
filterPanelAddFilter: 'Lägg till filter',
|
|
42
42
|
filterPanelRemoveAll: 'Ta bort alla',
|
|
43
43
|
filterPanelDeleteIconLabel: 'Ta bort',
|
|
44
|
-
filterPanelLogicOperator: 'Logisk
|
|
45
|
-
filterPanelOperator: '
|
|
44
|
+
filterPanelLogicOperator: 'Logisk operator',
|
|
45
|
+
filterPanelOperator: 'Operator',
|
|
46
46
|
filterPanelOperatorAnd: 'Och',
|
|
47
47
|
filterPanelOperatorOr: 'Eller',
|
|
48
48
|
filterPanelColumns: 'Kolumner',
|
|
@@ -50,7 +50,7 @@ var svSEGrid = {
|
|
|
50
50
|
filterPanelInputPlaceholder: 'Filtervärde',
|
|
51
51
|
// Filter operators text
|
|
52
52
|
filterOperatorContains: 'innehåller',
|
|
53
|
-
filterOperatorEquals: '
|
|
53
|
+
filterOperatorEquals: 'lika med',
|
|
54
54
|
filterOperatorStartsWith: 'börjar med',
|
|
55
55
|
filterOperatorEndsWith: 'slutar med',
|
|
56
56
|
filterOperatorIs: 'är',
|
|
@@ -62,34 +62,32 @@ var svSEGrid = {
|
|
|
62
62
|
filterOperatorIsEmpty: 'är tom',
|
|
63
63
|
filterOperatorIsNotEmpty: 'är inte tom',
|
|
64
64
|
filterOperatorIsAnyOf: 'är någon av',
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
65
|
+
'filterOperator=': '=',
|
|
66
|
+
'filterOperator!=': '!=',
|
|
67
|
+
'filterOperator>': '>',
|
|
68
|
+
'filterOperator>=': '>=',
|
|
69
|
+
'filterOperator<': '<',
|
|
70
|
+
'filterOperator<=': '<=',
|
|
72
71
|
// Header filter operators text
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
72
|
+
headerFilterOperatorContains: 'Innehåller',
|
|
73
|
+
headerFilterOperatorEquals: 'Lika med',
|
|
74
|
+
headerFilterOperatorStartsWith: 'Börjar med',
|
|
75
|
+
headerFilterOperatorEndsWith: 'Slutar med',
|
|
76
|
+
headerFilterOperatorIs: 'Är',
|
|
77
|
+
headerFilterOperatorNot: 'Är inte',
|
|
78
|
+
headerFilterOperatorAfter: 'Är efter',
|
|
79
|
+
headerFilterOperatorOnOrAfter: 'Är på eller efter',
|
|
80
|
+
headerFilterOperatorBefore: 'Är innan',
|
|
81
|
+
headerFilterOperatorOnOrBefore: 'Är på eller innan',
|
|
82
|
+
headerFilterOperatorIsEmpty: 'Är tom',
|
|
83
|
+
headerFilterOperatorIsNotEmpty: 'Är inte tom',
|
|
84
|
+
headerFilterOperatorIsAnyOf: 'Innehåller någon av',
|
|
85
|
+
'headerFilterOperator=': 'Lika med',
|
|
86
|
+
'headerFilterOperator!=': 'Inte lika med',
|
|
87
|
+
'headerFilterOperator>': 'Större än',
|
|
88
|
+
'headerFilterOperator>=': 'Större eller lika med',
|
|
89
|
+
'headerFilterOperator<': 'Mindre än',
|
|
90
|
+
'headerFilterOperator<=': 'Mindre eller lika med',
|
|
93
91
|
// Filter values text
|
|
94
92
|
filterValueAny: 'något',
|
|
95
93
|
filterValueTrue: 'sant',
|
|
@@ -100,7 +98,7 @@ var svSEGrid = {
|
|
|
100
98
|
columnMenuManageColumns: 'Hantera kolumner',
|
|
101
99
|
columnMenuFilter: 'Filtrera',
|
|
102
100
|
columnMenuHideColumn: 'Dölj',
|
|
103
|
-
columnMenuUnsort: '
|
|
101
|
+
columnMenuUnsort: 'Ta bort sortering',
|
|
104
102
|
columnMenuSortAsc: 'Sortera stigande',
|
|
105
103
|
columnMenuSortDesc: 'Sortera fallande',
|
|
106
104
|
// Column header text
|
|
@@ -154,7 +152,7 @@ var svSEGrid = {
|
|
|
154
152
|
rowReorderingHeaderName: 'Ordna om rader',
|
|
155
153
|
// Aggregation
|
|
156
154
|
aggregationMenuItemHeader: 'Aggregering',
|
|
157
|
-
aggregationFunctionLabelSum: '
|
|
155
|
+
aggregationFunctionLabelSum: 'summa',
|
|
158
156
|
aggregationFunctionLabelAvg: 'medel',
|
|
159
157
|
aggregationFunctionLabelMin: 'min',
|
|
160
158
|
aggregationFunctionLabelMax: 'max',
|
package/legacy/locales/urPK.js
CHANGED
|
@@ -39,7 +39,7 @@ var urPKGrid = {
|
|
|
39
39
|
columnsPanelHideAllButton: 'سارے چھپائیں',
|
|
40
40
|
// Filter panel text
|
|
41
41
|
filterPanelAddFilter: 'نیا فلٹر',
|
|
42
|
-
|
|
42
|
+
filterPanelRemoveAll: 'سارے ختم کریں',
|
|
43
43
|
filterPanelDeleteIconLabel: 'ختم کریں',
|
|
44
44
|
filterPanelLogicOperator: 'لاجک آپریٹر',
|
|
45
45
|
filterPanelOperator: 'آپریٹر',
|
|
@@ -62,34 +62,32 @@ var urPKGrid = {
|
|
|
62
62
|
filterOperatorIsEmpty: 'خالی ہے',
|
|
63
63
|
filterOperatorIsNotEmpty: 'خالی نہیں ہے',
|
|
64
64
|
filterOperatorIsAnyOf: 'ان میں سے کوئی ہے',
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
65
|
+
'filterOperator=': '=',
|
|
66
|
+
'filterOperator!=': '!=',
|
|
67
|
+
'filterOperator>': '>',
|
|
68
|
+
'filterOperator>=': '>=',
|
|
69
|
+
'filterOperator<': '<',
|
|
70
|
+
'filterOperator<=': '<=',
|
|
72
71
|
// Header filter operators text
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
72
|
+
headerFilterOperatorContains: 'شامل ہے',
|
|
73
|
+
headerFilterOperatorEquals: 'برابر ہے',
|
|
74
|
+
headerFilterOperatorStartsWith: 'شروع ہوتا ہے',
|
|
75
|
+
headerFilterOperatorEndsWith: 'ختم ہوتا ہے',
|
|
76
|
+
headerFilterOperatorIs: 'ہے',
|
|
77
|
+
headerFilterOperatorNot: 'نہیں ہے',
|
|
78
|
+
headerFilterOperatorAfter: 'بعد میں ہے',
|
|
79
|
+
headerFilterOperatorOnOrAfter: 'پر یا بعد میں ہے',
|
|
80
|
+
headerFilterOperatorBefore: 'پہلے ہے',
|
|
81
|
+
headerFilterOperatorOnOrBefore: 'پر یا پہلے ہے',
|
|
82
|
+
headerFilterOperatorIsEmpty: 'خالی ہے',
|
|
83
|
+
headerFilterOperatorIsNotEmpty: 'خالی نہیں ہے',
|
|
84
|
+
headerFilterOperatorIsAnyOf: 'ان میں سے کوئی ہے',
|
|
85
|
+
'headerFilterOperator=': 'برابر ہے',
|
|
86
|
+
'headerFilterOperator!=': 'برابر نہیں ہے',
|
|
87
|
+
'headerFilterOperator>': 'ذیادہ ہے',
|
|
88
|
+
'headerFilterOperator>=': 'ذیادہ یا برابر ہے',
|
|
89
|
+
'headerFilterOperator<': 'کم ہے',
|
|
90
|
+
'headerFilterOperator<=': 'کم یا برابر ہے',
|
|
93
91
|
// Filter values text
|
|
94
92
|
filterValueAny: 'کوئی بھی',
|
|
95
93
|
filterValueTrue: 'صحیح',
|