@mui/x-data-grid 8.9.1 → 8.10.0

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.
Files changed (156) hide show
  1. package/CHANGELOG.md +217 -8
  2. package/DataGrid/DataGrid.js +5 -0
  3. package/DataGrid/useDataGridComponent.js +2 -0
  4. package/colDef/gridCheckboxSelectionColDef.js +1 -0
  5. package/components/GridDetailPanels.d.ts +2 -2
  6. package/components/GridFooter.js +1 -1
  7. package/components/GridPagination.js +4 -3
  8. package/components/GridPinnedRows.d.ts +2 -2
  9. package/components/GridRow.js +8 -1
  10. package/components/cell/GridCell.js +7 -5
  11. package/components/cell/GridEditSingleSelectCell.js +1 -1
  12. package/components/columnsManagement/GridColumnsManagement.d.ts +6 -0
  13. package/components/columnsManagement/GridColumnsManagement.js +17 -5
  14. package/components/containers/GridRootStyles.d.ts +1 -1
  15. package/components/toolbarV8/Toolbar.d.ts +1 -1
  16. package/components/virtualization/GridVirtualScroller.js +5 -5
  17. package/constants/dataGridPropsDefaultValues.js +1 -0
  18. package/esm/DataGrid/DataGrid.js +5 -0
  19. package/esm/DataGrid/useDataGridComponent.js +2 -0
  20. package/esm/colDef/gridCheckboxSelectionColDef.js +1 -0
  21. package/esm/components/GridDetailPanels.d.ts +2 -2
  22. package/esm/components/GridFooter.js +1 -1
  23. package/esm/components/GridPagination.js +3 -2
  24. package/esm/components/GridPinnedRows.d.ts +2 -2
  25. package/esm/components/GridRow.js +8 -1
  26. package/esm/components/cell/GridCell.js +7 -5
  27. package/esm/components/cell/GridEditSingleSelectCell.js +1 -1
  28. package/esm/components/columnsManagement/GridColumnsManagement.d.ts +6 -0
  29. package/esm/components/columnsManagement/GridColumnsManagement.js +17 -5
  30. package/esm/components/containers/GridRootStyles.d.ts +1 -1
  31. package/esm/components/toolbarV8/Toolbar.d.ts +1 -1
  32. package/esm/components/virtualization/GridVirtualScroller.js +5 -5
  33. package/esm/constants/dataGridPropsDefaultValues.js +1 -0
  34. package/esm/hooks/core/useGridVirtualizer.d.ts +9 -0
  35. package/esm/hooks/core/useGridVirtualizer.js +223 -0
  36. package/esm/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
  37. package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +3 -2
  38. package/esm/hooks/features/columns/useGridColumnSpanning.js +5 -90
  39. package/esm/hooks/features/dataSource/models.d.ts +11 -2
  40. package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
  41. package/esm/hooks/features/dataSource/useGridDataSourceBase.js +9 -2
  42. package/esm/hooks/features/dimensions/useGridDimensions.js +18 -188
  43. package/esm/hooks/features/editing/useGridRowEditing.js +4 -1
  44. package/esm/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +1 -1
  45. package/esm/hooks/features/keyboardNavigation/utils.d.ts +3 -3
  46. package/esm/hooks/features/keyboardNavigation/utils.js +5 -5
  47. package/esm/hooks/features/pivoting/gridPivotingInterfaces.d.ts +0 -1
  48. package/esm/hooks/features/pivoting/gridPivotingSelectors.d.ts +1 -4
  49. package/esm/hooks/features/pivoting/gridPivotingSelectors.js +1 -2
  50. package/esm/hooks/features/rowReorder/gridRowReorderInterfaces.d.ts +9 -0
  51. package/esm/hooks/features/rowReorder/gridRowReorderInterfaces.js +1 -0
  52. package/esm/hooks/features/rowReorder/gridRowReorderSelector.d.ts +5 -0
  53. package/esm/hooks/features/rowReorder/gridRowReorderSelector.js +3 -0
  54. package/esm/hooks/features/rowSelection/useGridRowSelection.js +2 -2
  55. package/esm/hooks/features/rowSelection/utils.js +5 -0
  56. package/esm/hooks/features/rows/gridRowsMetaInterfaces.d.ts +2 -8
  57. package/esm/hooks/features/rows/gridRowsMetaState.d.ts +2 -18
  58. package/esm/hooks/features/rows/useGridRowAriaAttributes.js +3 -1
  59. package/esm/hooks/features/rows/useGridRowSpanning.d.ts +2 -12
  60. package/esm/hooks/features/rows/useGridRowSpanning.js +54 -85
  61. package/esm/hooks/features/rows/useGridRowsMeta.d.ts +1 -1
  62. package/esm/hooks/features/rows/useGridRowsMeta.js +17 -187
  63. package/esm/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
  64. package/esm/hooks/features/virtualization/index.d.ts +1 -0
  65. package/esm/hooks/features/virtualization/index.js +1 -0
  66. package/esm/hooks/features/virtualization/useGridVirtualization.d.ts +5 -16
  67. package/esm/hooks/features/virtualization/useGridVirtualization.js +41 -22
  68. package/esm/hooks/utils/index.d.ts +1 -1
  69. package/esm/hooks/utils/index.js +1 -1
  70. package/esm/hooks/utils/useFirstRender.d.ts +1 -1
  71. package/esm/hooks/utils/useFirstRender.js +1 -8
  72. package/esm/index.js +1 -1
  73. package/esm/internals/index.d.ts +3 -1
  74. package/esm/internals/index.js +2 -1
  75. package/esm/internals/utils/getPinnedCellOffset.js +5 -0
  76. package/esm/locales/frFR.js +18 -21
  77. package/esm/locales/heIL.js +12 -12
  78. package/esm/locales/nnNO.js +96 -107
  79. package/esm/locales/plPL.js +22 -24
  80. package/esm/material/index.js +2 -2
  81. package/esm/models/api/gridApiCommon.d.ts +4 -1
  82. package/esm/models/api/gridColumnSpanning.d.ts +5 -11
  83. package/esm/models/gridStateCommunity.d.ts +2 -0
  84. package/esm/models/props/DataGridProps.d.ts +5 -0
  85. package/esm/utils/roundToDecimalPlaces.d.ts +1 -1
  86. package/esm/utils/roundToDecimalPlaces.js +1 -3
  87. package/hooks/core/useGridVirtualizer.d.ts +9 -0
  88. package/hooks/core/useGridVirtualizer.js +231 -0
  89. package/hooks/features/columnHeaders/useGridColumnHeaders.d.ts +1 -1
  90. package/hooks/features/columnHeaders/useGridColumnHeaders.js +4 -3
  91. package/hooks/features/columns/useGridColumnSpanning.js +5 -91
  92. package/hooks/features/dataSource/models.d.ts +11 -2
  93. package/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
  94. package/hooks/features/dataSource/useGridDataSourceBase.js +10 -3
  95. package/hooks/features/dimensions/useGridDimensions.js +18 -188
  96. package/hooks/features/editing/useGridRowEditing.js +4 -1
  97. package/hooks/features/keyboardNavigation/useGridKeyboardNavigation.js +1 -1
  98. package/hooks/features/keyboardNavigation/utils.d.ts +3 -3
  99. package/hooks/features/keyboardNavigation/utils.js +5 -5
  100. package/hooks/features/pivoting/gridPivotingInterfaces.d.ts +0 -1
  101. package/hooks/features/pivoting/gridPivotingSelectors.d.ts +1 -4
  102. package/hooks/features/pivoting/gridPivotingSelectors.js +2 -3
  103. package/hooks/features/rowReorder/gridRowReorderInterfaces.d.ts +9 -0
  104. package/hooks/features/rowReorder/gridRowReorderInterfaces.js +5 -0
  105. package/hooks/features/rowReorder/gridRowReorderSelector.d.ts +5 -0
  106. package/hooks/features/rowReorder/gridRowReorderSelector.js +9 -0
  107. package/hooks/features/rowSelection/useGridRowSelection.js +2 -2
  108. package/hooks/features/rowSelection/utils.js +5 -0
  109. package/hooks/features/rows/gridRowsMetaInterfaces.d.ts +2 -8
  110. package/hooks/features/rows/gridRowsMetaState.d.ts +2 -18
  111. package/hooks/features/rows/useGridRowAriaAttributes.js +3 -1
  112. package/hooks/features/rows/useGridRowSpanning.d.ts +2 -12
  113. package/hooks/features/rows/useGridRowSpanning.js +54 -85
  114. package/hooks/features/rows/useGridRowsMeta.d.ts +1 -1
  115. package/hooks/features/rows/useGridRowsMeta.js +15 -186
  116. package/hooks/features/virtualization/gridVirtualizationSelectors.d.ts +1 -1
  117. package/hooks/features/virtualization/index.d.ts +1 -0
  118. package/hooks/features/virtualization/index.js +12 -0
  119. package/hooks/features/virtualization/useGridVirtualization.d.ts +5 -16
  120. package/hooks/features/virtualization/useGridVirtualization.js +42 -24
  121. package/hooks/utils/index.d.ts +1 -1
  122. package/hooks/utils/index.js +12 -12
  123. package/hooks/utils/useFirstRender.d.ts +1 -1
  124. package/hooks/utils/useFirstRender.js +11 -11
  125. package/index.js +1 -1
  126. package/internals/index.d.ts +3 -1
  127. package/internals/index.js +12 -11
  128. package/internals/utils/getPinnedCellOffset.js +5 -0
  129. package/locales/frFR.js +18 -21
  130. package/locales/heIL.js +12 -12
  131. package/locales/nnNO.js +96 -107
  132. package/locales/plPL.js +22 -24
  133. package/material/index.js +2 -2
  134. package/models/api/gridApiCommon.d.ts +4 -1
  135. package/models/api/gridColumnSpanning.d.ts +5 -11
  136. package/models/gridStateCommunity.d.ts +2 -0
  137. package/models/props/DataGridProps.d.ts +5 -0
  138. package/package.json +5 -6
  139. package/utils/roundToDecimalPlaces.d.ts +1 -1
  140. package/utils/roundToDecimalPlaces.js +7 -4
  141. package/esm/hooks/features/rows/gridRowSpanningSelectors.d.ts +0 -10
  142. package/esm/hooks/features/rows/gridRowSpanningSelectors.js +0 -5
  143. package/esm/hooks/features/virtualization/useGridVirtualScroller.d.ts +0 -56
  144. package/esm/hooks/features/virtualization/useGridVirtualScroller.js +0 -843
  145. package/esm/hooks/utils/useRunOnce.d.ts +0 -5
  146. package/esm/hooks/utils/useRunOnce.js +0 -18
  147. package/esm/utils/platform.d.ts +0 -1
  148. package/esm/utils/platform.js +0 -2
  149. package/hooks/features/rows/gridRowSpanningSelectors.d.ts +0 -10
  150. package/hooks/features/rows/gridRowSpanningSelectors.js +0 -11
  151. package/hooks/features/virtualization/useGridVirtualScroller.d.ts +0 -56
  152. package/hooks/features/virtualization/useGridVirtualScroller.js +0 -854
  153. package/hooks/utils/useRunOnce.d.ts +0 -5
  154. package/hooks/utils/useRunOnce.js +0 -27
  155. package/utils/platform.d.ts +0 -1
  156. package/utils/platform.js +0 -8
@@ -1,8 +1 @@
1
- import * as React from 'react';
2
- export const useFirstRender = callback => {
3
- const isFirstRender = React.useRef(true);
4
- if (isFirstRender.current) {
5
- isFirstRender.current = false;
6
- callback();
7
- }
8
- };
1
+ export * from '@mui/x-internals/useFirstRender';
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid v8.9.1
2
+ * @mui/x-data-grid v8.10.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -12,6 +12,7 @@ export { GridBaseColumnHeaders } from "../components/columnHeaders/GridBaseColum
12
12
  export { DATA_GRID_DEFAULT_SLOTS_COMPONENTS } from "../constants/defaultGridSlotsComponents.js";
13
13
  export * from "../constants/signature.js";
14
14
  export { vars } from "../constants/cssVariables.js";
15
+ export { useGridVirtualizer } from "../hooks/core/useGridVirtualizer.js";
15
16
  export { propsStateInitializer } from "../hooks/core/useGridProps.js";
16
17
  export { getGridFilter } from "../components/panel/filterPanel/GridFilterPanel.js";
17
18
  export { getValueOptions } from "../components/panel/filterPanel/filterPanelUtils.js";
@@ -62,6 +63,8 @@ export { getRowIdFromRowModel, GRID_ID_AUTOGENERATED, getRowValue } from "../hoo
62
63
  export { gridAdditionalRowGroupsSelector, gridPinnedRowsSelector, gridRowSelector } from "../hooks/features/rows/gridRowsSelector.js";
63
64
  export { headerFilteringStateInitializer, useGridHeaderFiltering } from "../hooks/features/headerFiltering/useGridHeaderFiltering.js";
64
65
  export { useGridRowSelection, rowSelectionStateInitializer } from "../hooks/features/rowSelection/useGridRowSelection.js";
66
+ export { gridIsRowDragActiveSelector } from "../hooks/features/rowReorder/gridRowReorderSelector.js";
67
+ export type { GridRowReorderState } from "../hooks/features/rowReorder/gridRowReorderInterfaces.js";
65
68
  export { useGridRowSelectionPreProcessors } from "../hooks/features/rowSelection/useGridRowSelectionPreProcessors.js";
66
69
  export { useGridSorting, sortingStateInitializer } from "../hooks/features/sorting/useGridSorting.js";
67
70
  export type { GridSortingModelApplier } from "../hooks/features/sorting/gridSortingState.js";
@@ -72,7 +75,6 @@ export { dimensionsStateInitializer, useGridDimensions } from "../hooks/features
72
75
  export * from "../hooks/features/dimensions/gridDimensionsSelectors.js";
73
76
  export { useGridStatePersistence } from "../hooks/features/statePersistence/useGridStatePersistence.js";
74
77
  export type { GridRestoreStatePreProcessingContext } from "../hooks/features/statePersistence/gridStatePersistenceInterface.js";
75
- export { useGridVirtualScroller, EMPTY_DETAIL_PANELS } from "../hooks/features/virtualization/useGridVirtualScroller.js";
76
78
  export * from "../hooks/features/virtualization/index.js";
77
79
  export { useGridColumnResize, columnResizeStateInitializer } from "../hooks/features/columnResize/useGridColumnResize.js";
78
80
  export { ROW_SELECTION_PROPAGATION_DEFAULT } from "../hooks/features/rowSelection/utils.js";
@@ -8,6 +8,7 @@ export { GridBaseColumnHeaders } from "../components/columnHeaders/GridBaseColum
8
8
  export { DATA_GRID_DEFAULT_SLOTS_COMPONENTS } from "../constants/defaultGridSlotsComponents.js";
9
9
  export * from "../constants/signature.js";
10
10
  export { vars } from "../constants/cssVariables.js";
11
+ export { useGridVirtualizer } from "../hooks/core/useGridVirtualizer.js";
11
12
  export { propsStateInitializer } from "../hooks/core/useGridProps.js";
12
13
  export { getGridFilter } from "../components/panel/filterPanel/GridFilterPanel.js";
13
14
  export { getValueOptions } from "../components/panel/filterPanel/filterPanelUtils.js";
@@ -50,6 +51,7 @@ export { getRowIdFromRowModel, GRID_ID_AUTOGENERATED, getRowValue } from "../hoo
50
51
  export { gridAdditionalRowGroupsSelector, gridPinnedRowsSelector, gridRowSelector } from "../hooks/features/rows/gridRowsSelector.js";
51
52
  export { headerFilteringStateInitializer, useGridHeaderFiltering } from "../hooks/features/headerFiltering/useGridHeaderFiltering.js";
52
53
  export { useGridRowSelection, rowSelectionStateInitializer } from "../hooks/features/rowSelection/useGridRowSelection.js";
54
+ export { gridIsRowDragActiveSelector } from "../hooks/features/rowReorder/gridRowReorderSelector.js";
53
55
  export { useGridRowSelectionPreProcessors } from "../hooks/features/rowSelection/useGridRowSelectionPreProcessors.js";
54
56
  export { useGridSorting, sortingStateInitializer } from "../hooks/features/sorting/useGridSorting.js";
55
57
  export { gridSortedRowIndexLookupSelector } from "../hooks/features/sorting/gridSortingSelector.js";
@@ -58,7 +60,6 @@ export { useGridEvents } from "../hooks/features/events/useGridEvents.js";
58
60
  export { dimensionsStateInitializer, useGridDimensions } from "../hooks/features/dimensions/useGridDimensions.js";
59
61
  export * from "../hooks/features/dimensions/gridDimensionsSelectors.js";
60
62
  export { useGridStatePersistence } from "../hooks/features/statePersistence/useGridStatePersistence.js";
61
- export { useGridVirtualScroller, EMPTY_DETAIL_PANELS } from "../hooks/features/virtualization/useGridVirtualScroller.js";
62
63
  export * from "../hooks/features/virtualization/index.js";
63
64
  export { useGridColumnResize, columnResizeStateInitializer } from "../hooks/features/columnResize/useGridColumnResize.js";
64
65
  export { ROW_SELECTION_PROPAGATION_DEFAULT } from "../hooks/features/rowSelection/utils.js";
@@ -12,5 +12,10 @@ export const getPinnedCellOffset = (pinnedPosition, computedWidth, columnIndex,
12
12
  pinnedOffset = undefined;
13
13
  break;
14
14
  }
15
+
16
+ // XXX: fix this properly
17
+ if (Number.isNaN(pinnedOffset)) {
18
+ pinnedOffset = undefined;
19
+ }
15
20
  return pinnedOffset;
16
21
  };
@@ -3,8 +3,8 @@ const frFRGrid = {
3
3
  // Root
4
4
  noRowsLabel: 'Pas de résultats',
5
5
  noResultsOverlayLabel: 'Aucun résultat.',
6
- // noColumnsOverlayLabel: 'No columns',
7
- // noColumnsOverlayManageColumns: 'Manage columns',
6
+ noColumnsOverlayLabel: 'Aucune colonne',
7
+ noColumnsOverlayManageColumns: 'Gérer les colonnes',
8
8
  // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
9
9
 
10
10
  // Density selector toolbar button text
@@ -36,15 +36,13 @@ const frFRGrid = {
36
36
  // toolbarPivot: 'Pivot',
37
37
 
38
38
  // Toolbar AI Assistant button
39
- // toolbarAssistant: 'AI Assistant',
40
-
39
+ toolbarAssistant: 'Assistant IA',
41
40
  // Columns management text
42
41
  columnsManagementSearchTitle: 'Rechercher',
43
42
  columnsManagementNoColumns: 'Pas de colonnes',
44
43
  columnsManagementShowHideAllText: 'Afficher/masquer toutes',
45
44
  columnsManagementReset: 'Réinitialiser',
46
- // columnsManagementDeleteIconLabel: 'Clear',
47
-
45
+ columnsManagementDeleteIconLabel: 'Effacer',
48
46
  // Filter panel text
49
47
  filterPanelAddFilter: 'Ajouter un filtre',
50
48
  filterPanelRemoveAll: 'Tout supprimer',
@@ -100,15 +98,14 @@ const frFRGrid = {
100
98
  'headerFilterOperator>=': 'Est supérieur ou égal à',
101
99
  'headerFilterOperator<': 'Est inférieur à',
102
100
  'headerFilterOperator<=': 'Est inférieur ou égal à',
103
- // headerFilterClear: 'Clear filter',
104
-
101
+ headerFilterClear: 'Effacer le filtre',
105
102
  // Filter values text
106
103
  filterValueAny: 'tous',
107
104
  filterValueTrue: 'vrai',
108
105
  filterValueFalse: 'faux',
109
106
  // Column menu text
110
107
  columnMenuLabel: 'Menu',
111
- // columnMenuAriaLabel: (columnName: string) => `${columnName} column menu`,
108
+ columnMenuAriaLabel: columnName => `Menu pour la colonne ${columnName}`,
112
109
  columnMenuShowColumns: 'Afficher les colonnes',
113
110
  columnMenuManageColumns: 'Gérer les colonnes',
114
111
  columnMenuFilter: 'Filtrer',
@@ -157,18 +154,18 @@ const frFRGrid = {
157
154
  collapseDetailPanel: 'Masquer',
158
155
  // Pagination
159
156
  paginationRowsPerPage: 'Lignes par page :',
160
- // paginationDisplayedRows: ({
161
- // from,
162
- // to,
163
- // count,
164
- // estimated
165
- // }) => {
166
- // if (!estimated) {
167
- // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
168
- // }
169
- // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
170
- // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
171
- // },
157
+ paginationDisplayedRows: ({
158
+ from,
159
+ to,
160
+ count,
161
+ estimated
162
+ }) => {
163
+ if (!estimated) {
164
+ return `${from}–${to} sur ${count !== -1 ? count : `plus de ${to}`}`;
165
+ }
166
+ const estimatedLabel = estimated && estimated > to ? `environ ${estimated}` : `plus de ${to}`;
167
+ return `${from}–${to} sur ${count !== -1 ? count : estimatedLabel}`;
168
+ },
172
169
  paginationItemAriaLabel: type => {
173
170
  if (type === 'first') {
174
171
  return 'Aller à la première page';
@@ -156,18 +156,18 @@ const heILGrid = {
156
156
  collapseDetailPanel: 'כווץ',
157
157
  // Pagination
158
158
  paginationRowsPerPage: 'שורות בעמוד:',
159
- // paginationDisplayedRows: ({
160
- // from,
161
- // to,
162
- // count,
163
- // estimated
164
- // }) => {
165
- // if (!estimated) {
166
- // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
167
- // }
168
- // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
169
- // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
170
- // },
159
+ paginationDisplayedRows: ({
160
+ from,
161
+ to,
162
+ count,
163
+ estimated
164
+ }) => {
165
+ if (!estimated) {
166
+ return `${from}-${to} מתוך ${count !== -1 ? count : `יותר מ־${to}`}`;
167
+ }
168
+ const estimatedLabel = estimated && estimated > to ? `כ־${estimated}` : `יותר מ־${to}`;
169
+ return `${from}-${to} מתוך ${count !== -1 ? count : estimatedLabel}`;
170
+ },
171
171
  paginationItemAriaLabel: type => {
172
172
  if (type === 'first') {
173
173
  return 'לעמוד הראשון';
@@ -3,10 +3,9 @@ const nnNOGrid = {
3
3
  // Root
4
4
  noRowsLabel: 'Ingen rader',
5
5
  noResultsOverlayLabel: 'Fann ingen resultat.',
6
- // noColumnsOverlayLabel: 'No columns',
7
- // noColumnsOverlayManageColumns: 'Manage columns',
8
- // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
9
-
6
+ noColumnsOverlayLabel: 'Ingen kolonner',
7
+ noColumnsOverlayManageColumns: 'Vel kolonner',
8
+ emptyPivotOverlayLabel: 'Legg til felt i rader, kolonner og verdiar for å opprette ein pivot-tabell',
10
9
  // Density selector toolbar button text
11
10
  toolbarDensity: 'Tettheit',
12
11
  toolbarDensityLabel: 'Tettheit',
@@ -33,18 +32,15 @@ const nnNOGrid = {
33
32
  toolbarExportPrint: 'Skriv ut',
34
33
  toolbarExportExcel: 'Last ned som Excel',
35
34
  // Toolbar pivot button
36
- // toolbarPivot: 'Pivot',
37
-
35
+ toolbarPivot: 'Pivot',
38
36
  // Toolbar AI Assistant button
39
- // toolbarAssistant: 'AI Assistant',
40
-
37
+ toolbarAssistant: 'AI Assistent',
41
38
  // Columns management text
42
39
  columnsManagementSearchTitle: 'Søk',
43
40
  columnsManagementNoColumns: 'Ingen kolonner',
44
41
  columnsManagementShowHideAllText: 'Vis/skjul alle',
45
42
  columnsManagementReset: 'Nullstill',
46
- // columnsManagementDeleteIconLabel: 'Clear',
47
-
43
+ columnsManagementDeleteIconLabel: 'Tøm',
48
44
  // Filter panel text
49
45
  filterPanelAddFilter: 'Legg til filter',
50
46
  filterPanelRemoveAll: 'Fjern alle',
@@ -58,9 +54,9 @@ const nnNOGrid = {
58
54
  filterPanelInputPlaceholder: 'Filter verdi',
59
55
  // Filter operators text
60
56
  filterOperatorContains: 'inneheld',
61
- // filterOperatorDoesNotContain: 'does not contain',
57
+ filterOperatorDoesNotContain: 'inneheld ikkje',
62
58
  filterOperatorEquals: 'er lik',
63
- // filterOperatorDoesNotEqual: 'does not equal',
59
+ filterOperatorDoesNotEqual: 'er ikkje lik',
64
60
  filterOperatorStartsWith: 'startar med',
65
61
  filterOperatorEndsWith: 'sluttar med',
66
62
  filterOperatorIs: 'er',
@@ -80,9 +76,9 @@ const nnNOGrid = {
80
76
  'filterOperator<=': '<=',
81
77
  // Header filter operators text
82
78
  headerFilterOperatorContains: 'Inneheld',
83
- // headerFilterOperatorDoesNotContain: 'Does not contain',
79
+ headerFilterOperatorDoesNotContain: 'Inneheld ikkje',
84
80
  headerFilterOperatorEquals: 'Lik',
85
- // headerFilterOperatorDoesNotEqual: 'Does not equal',
81
+ headerFilterOperatorDoesNotEqual: 'Er ikkje lik',
86
82
  headerFilterOperatorStartsWith: 'Startar på',
87
83
  headerFilterOperatorEndsWith: 'Sluttar på',
88
84
  headerFilterOperatorIs: 'Er',
@@ -100,15 +96,14 @@ const nnNOGrid = {
100
96
  'headerFilterOperator>=': 'Større enn eller lik',
101
97
  'headerFilterOperator<': 'Mindre enn',
102
98
  'headerFilterOperator<=': 'Mindre enn eller lik',
103
- // headerFilterClear: 'Clear filter',
104
-
99
+ headerFilterClear: 'Tøm filter',
105
100
  // Filter values text
106
101
  filterValueAny: 'nokon',
107
102
  filterValueTrue: 'sant',
108
103
  filterValueFalse: 'usant',
109
104
  // Column menu text
110
105
  columnMenuLabel: 'Meny',
111
- // columnMenuAriaLabel: (columnName: string) => `${columnName} column menu`,
106
+ columnMenuAriaLabel: columnName => `${columnName} kolonne meny`,
112
107
  columnMenuShowColumns: 'Vis kolonner',
113
108
  columnMenuManageColumns: 'Administrer kolonner',
114
109
  columnMenuFilter: 'Filter',
@@ -116,8 +111,7 @@ const nnNOGrid = {
116
111
  columnMenuUnsort: 'Usorter',
117
112
  columnMenuSortAsc: 'Sorter AUKANDE',
118
113
  columnMenuSortDesc: 'Sorter SYNKANDE',
119
- // columnMenuManagePivot: 'Manage pivot',
120
-
114
+ columnMenuManagePivot: 'Behandle pivot',
121
115
  // Column header text
122
116
  columnHeaderFiltersTooltipActive: count => count !== 1 ? `${count} aktive filter` : `${count} aktivt filter`,
123
117
  columnHeaderFiltersLabel: 'Vis filter',
@@ -152,23 +146,23 @@ const nnNOGrid = {
152
146
  groupColumn: name => `Grupper på ${name}`,
153
147
  unGroupColumn: name => `Slutt å grupper på ${name}`,
154
148
  // Master/detail
155
- detailPanelToggle: 'Utvid/kollaps detalj panel',
156
- expandDetailPanel: 'Utvid',
157
- collapseDetailPanel: 'Kolaps',
149
+ detailPanelToggle: 'Vis/gøym detaljpanel',
150
+ expandDetailPanel: 'Vis',
151
+ collapseDetailPanel: 'Gøym',
158
152
  // Pagination
159
153
  paginationRowsPerPage: 'Rader per side:',
160
- // paginationDisplayedRows: ({
161
- // from,
162
- // to,
163
- // count,
164
- // estimated
165
- // }) => {
166
- // if (!estimated) {
167
- // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
168
- // }
169
- // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
170
- // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
171
- // },
154
+ paginationDisplayedRows: ({
155
+ from,
156
+ to,
157
+ count,
158
+ estimated
159
+ }) => {
160
+ if (!estimated) {
161
+ return `${from}–${to} av ${count !== -1 ? count : `flere enn ${to}`}`;
162
+ }
163
+ const estimatedLabel = estimated && estimated > to ? `omtrent ${estimated}` : `flere enn ${to}`;
164
+ return `${from}–${to} av ${count !== -1 ? count : estimatedLabel}`;
165
+ },
172
166
  paginationItemAriaLabel: type => {
173
167
  if (type === 'first') {
174
168
  return 'Gå til første side';
@@ -190,83 +184,78 @@ const nnNOGrid = {
190
184
  aggregationFunctionLabelAvg: 'snitt',
191
185
  aggregationFunctionLabelMin: 'min',
192
186
  aggregationFunctionLabelMax: 'maks',
193
- aggregationFunctionLabelSize: 'størrelse'
194
-
187
+ aggregationFunctionLabelSize: 'størrelse',
195
188
  // Pivot panel
196
- // pivotToggleLabel: 'Pivot',
197
- // pivotRows: 'Rows',
198
- // pivotColumns: 'Columns',
199
- // pivotValues: 'Values',
200
- // pivotCloseButton: 'Close pivot settings',
201
- // pivotSearchButton: 'Search fields',
202
- // pivotSearchControlPlaceholder: 'Search fields',
203
- // pivotSearchControlLabel: 'Search fields',
204
- // pivotSearchControlClear: 'Clear search',
205
- // pivotNoFields: 'No fields',
206
- // pivotMenuMoveUp: 'Move up',
207
- // pivotMenuMoveDown: 'Move down',
208
- // pivotMenuMoveToTop: 'Move to top',
209
- // pivotMenuMoveToBottom: 'Move to bottom',
210
- // pivotMenuRows: 'Rows',
211
- // pivotMenuColumns: 'Columns',
212
- // pivotMenuValues: 'Values',
213
- // pivotMenuOptions: 'Field options',
214
- // pivotMenuAddToRows: 'Add to Rows',
215
- // pivotMenuAddToColumns: 'Add to Columns',
216
- // pivotMenuAddToValues: 'Add to Values',
217
- // pivotMenuRemove: 'Remove',
218
- // pivotDragToRows: 'Drag here to create rows',
219
- // pivotDragToColumns: 'Drag here to create columns',
220
- // pivotDragToValues: 'Drag here to create values',
221
- // pivotYearColumnHeaderName: '(Year)',
222
- // pivotQuarterColumnHeaderName: '(Quarter)',
223
-
189
+ pivotToggleLabel: 'Pivot',
190
+ pivotRows: 'Rader',
191
+ pivotColumns: 'Kolonner',
192
+ pivotValues: 'Verdiar',
193
+ pivotCloseButton: 'Lukk pivotinnstillingar',
194
+ pivotSearchButton: 'Søk felt',
195
+ pivotSearchControlPlaceholder: 'Søk felt',
196
+ pivotSearchControlLabel: 'Søk felt',
197
+ pivotSearchControlClear: 'Tøm søk',
198
+ pivotNoFields: 'Ingen felt',
199
+ pivotMenuMoveUp: 'Flytt opp',
200
+ pivotMenuMoveDown: 'Flytt ned',
201
+ pivotMenuMoveToTop: 'Flytt til toppen',
202
+ pivotMenuMoveToBottom: 'Flytt til botnen',
203
+ pivotMenuRows: 'Rader',
204
+ pivotMenuColumns: 'Kolonner',
205
+ pivotMenuValues: 'Verdiar',
206
+ pivotMenuOptions: 'Feltalternativ',
207
+ pivotMenuAddToRows: 'Legg til i Rader',
208
+ pivotMenuAddToColumns: 'Legg til i Kolonner',
209
+ pivotMenuAddToValues: 'Legg til i Verdiar',
210
+ pivotMenuRemove: 'Fjern',
211
+ pivotDragToRows: 'Dra hit for å opprette rader',
212
+ pivotDragToColumns: 'Dra hit for å opprette kolonner',
213
+ pivotDragToValues: 'Dra hit for å opprette verdiar',
214
+ pivotYearColumnHeaderName: '(År)',
215
+ pivotQuarterColumnHeaderName: '(Kvartal)',
224
216
  // AI Assistant panel
225
- // aiAssistantPanelTitle: 'AI Assistant',
226
- // aiAssistantPanelClose: 'Close AI Assistant',
227
- // aiAssistantPanelNewConversation: 'New conversation',
228
- // aiAssistantPanelConversationHistory: 'Conversation history',
229
- // aiAssistantPanelEmptyConversation: 'No prompt history',
230
- // aiAssistantSuggestions: 'Suggestions',
231
-
217
+ aiAssistantPanelTitle: 'AI Assistent',
218
+ aiAssistantPanelClose: 'Lukk AI Assistent',
219
+ aiAssistantPanelNewConversation: 'Ny samtale',
220
+ aiAssistantPanelConversationHistory: 'Samtalehistorikk',
221
+ aiAssistantPanelEmptyConversation: 'Ingen prompt-historikk',
222
+ aiAssistantSuggestions: 'Forslag',
232
223
  // Prompt field
233
- // promptFieldLabel: 'Prompt',
234
- // promptFieldPlaceholder: 'Type a prompt…',
235
- // promptFieldPlaceholderWithRecording: 'Type or record a prompt…',
236
- // promptFieldPlaceholderListening: 'Listening for prompt…',
237
- // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
238
- // promptFieldSend: 'Send',
239
- // promptFieldRecord: 'Record',
240
- // promptFieldStopRecording: 'Stop recording',
241
-
224
+ promptFieldLabel: 'Prompt',
225
+ promptFieldPlaceholder: 'Skriv ein prompt…',
226
+ promptFieldPlaceholderWithRecording: 'Skriv eller spel inn ein prompt…',
227
+ promptFieldPlaceholderListening: 'Lyttar etter prompt…',
228
+ promptFieldSpeechRecognitionNotSupported: 'Talegjenkjenning er ikkje støtta i denne nettlesaren',
229
+ promptFieldSend: 'Send',
230
+ promptFieldRecord: 'Spel inn',
231
+ promptFieldStopRecording: 'Stopp opptak',
242
232
  // Prompt
243
- // promptRerun: 'Run again',
244
- // promptProcessing: 'Processing…',
245
- // promptAppliedChanges: 'Applied changes',
246
-
233
+ promptRerun: 'Kjør på nytt',
234
+ promptProcessing: 'Behandlar…',
235
+ promptAppliedChanges: 'Brukte endringar',
247
236
  // Prompt changes
248
- // promptChangeGroupDescription: (column: string) => `Group by ${column}`,
249
- // promptChangeAggregationLabel: (column: string, aggregation: string) => `${column} (${aggregation})`,
250
- // promptChangeAggregationDescription: (column: string, aggregation: string) => `Aggregate ${column} (${aggregation})`,
251
- // promptChangeFilterLabel: (column: string, operator: string, value: string) => {
252
- // if (operator === 'is any of') {
253
- // return `${column} is any of: ${value}`;
254
- // }
255
- // return `${column} ${operator} ${value}`;
256
- // },
257
- // promptChangeFilterDescription: (column: string, operator: string, value: string) => {
258
- // if (operator === 'is any of') {
259
- // return `Filter where ${column} is any of: ${value}`;
260
- // }
261
- // return `Filter where ${column} ${operator} ${value}`;
262
- // },
263
- // promptChangeSortDescription: (column: string, direction: string) => `Sort by ${column} (${direction})`,
264
- // promptChangePivotEnableLabel: 'Pivot',
265
- // promptChangePivotEnableDescription: 'Enable pivot',
266
- // promptChangePivotColumnsLabel: (count: number) => `Columns (${count})`,
267
- // promptChangePivotColumnsDescription: (column: string, direction: string) => `${column}${direction ? ` (${direction})` : ''}`,
268
- // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
269
- // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
270
- // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
237
+ promptChangeGroupDescription: column => `Grupper etter ${column}`,
238
+ promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
239
+ promptChangeAggregationDescription: (column, aggregation) => `Aggreger ${column} (${aggregation})`,
240
+ promptChangeFilterLabel: (column, operator, value) => {
241
+ if (operator === 'is any of') {
242
+ return `${column} er ein av: ${value}`;
243
+ }
244
+ return `${column} ${operator} ${value}`;
245
+ },
246
+ promptChangeFilterDescription: (column, operator, value) => {
247
+ if (operator === 'is any of') {
248
+ return `Filter der ${column} er ein av: ${value}`;
249
+ }
250
+ return `Filter der ${column} ${operator} ${value}`;
251
+ },
252
+ promptChangeSortDescription: (column, direction) => `Sorter etter ${column} (${direction})`,
253
+ promptChangePivotEnableLabel: 'Pivot',
254
+ promptChangePivotEnableDescription: 'Aktiver pivot',
255
+ promptChangePivotColumnsLabel: count => `Kolonner (${count})`,
256
+ promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
257
+ promptChangePivotRowsLabel: count => `Rader (${count})`,
258
+ promptChangePivotValuesLabel: count => `Verdiar (${count})`,
259
+ promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
271
260
  };
272
261
  export const nnNO = getGridLocalization(nnNOGrid);
@@ -3,8 +3,8 @@ const plPLGrid = {
3
3
  // Root
4
4
  noRowsLabel: 'Brak danych',
5
5
  noResultsOverlayLabel: 'Nie znaleziono wyników.',
6
- // noColumnsOverlayLabel: 'No columns',
7
- // noColumnsOverlayManageColumns: 'Manage columns',
6
+ noColumnsOverlayLabel: 'Brak kolumn',
7
+ noColumnsOverlayManageColumns: 'Zarządzaj kolumnami',
8
8
  // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
9
9
 
10
10
  // Density selector toolbar button text
@@ -36,8 +36,7 @@ const plPLGrid = {
36
36
  // toolbarPivot: 'Pivot',
37
37
 
38
38
  // Toolbar AI Assistant button
39
- // toolbarAssistant: 'AI Assistant',
40
-
39
+ toolbarAssistant: 'Asystent AI',
41
40
  // Columns management text
42
41
  columnsManagementSearchTitle: 'Szukaj',
43
42
  columnsManagementNoColumns: 'Brak kolumn',
@@ -155,18 +154,18 @@ const plPLGrid = {
155
154
  collapseDetailPanel: 'Zwiń',
156
155
  // Pagination
157
156
  paginationRowsPerPage: 'Wierszy na stronę:',
158
- // paginationDisplayedRows: ({
159
- // from,
160
- // to,
161
- // count,
162
- // estimated
163
- // }) => {
164
- // if (!estimated) {
165
- // return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
166
- // }
167
- // const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
168
- // return `${from}–${to} of ${count !== -1 ? count : estimatedLabel}`;
169
- // },
157
+ paginationDisplayedRows: ({
158
+ from,
159
+ to,
160
+ count,
161
+ estimated
162
+ }) => {
163
+ if (!estimated) {
164
+ return `${from}–${to} z ${count !== -1 ? count : `więcej niż ${to}`}`;
165
+ }
166
+ const estimatedLabel = estimated && estimated > to ? `około ${estimated}` : `więcej niż ${to}`;
167
+ return `${from}–${to} z ${count !== -1 ? count : estimatedLabel}`;
168
+ },
170
169
  paginationItemAriaLabel: type => {
171
170
  if (type === 'first') {
172
171
  return 'Przejdź do pierwszej strony';
@@ -219,19 +218,18 @@ const plPLGrid = {
219
218
  // pivotQuarterColumnHeaderName: '(Quarter)',
220
219
 
221
220
  // AI Assistant panel
222
- // aiAssistantPanelTitle: 'AI Assistant',
223
- // aiAssistantPanelClose: 'Close AI Assistant',
224
- // aiAssistantPanelNewConversation: 'New conversation',
225
- // aiAssistantPanelConversationHistory: 'Conversation history',
226
- // aiAssistantPanelEmptyConversation: 'No prompt history',
227
- // aiAssistantSuggestions: 'Suggestions',
228
-
221
+ aiAssistantPanelTitle: 'Asystent AI',
222
+ aiAssistantPanelClose: 'Zamknij asystenta AI',
223
+ aiAssistantPanelNewConversation: 'Nowa konwersacja',
224
+ aiAssistantPanelConversationHistory: 'Historia konwersacji',
225
+ aiAssistantPanelEmptyConversation: 'Brak historii poleceń',
226
+ aiAssistantSuggestions: 'Sugestie',
229
227
  // Prompt field
230
228
  promptFieldLabel: 'Wprowadź polecenie',
231
229
  promptFieldPlaceholder: 'Wpisz polecenie…',
232
230
  promptFieldPlaceholderWithRecording: 'Wpisz lub nagraj polecenie…',
233
231
  promptFieldPlaceholderListening: 'Nasłuchiwanie polecenia…',
234
- // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
232
+ promptFieldSpeechRecognitionNotSupported: 'Rozpoznawanie głosu nie jest obsługiwane przez Twoją przeglądarkę.',
235
233
  promptFieldSend: 'Wyślij',
236
234
  promptFieldRecord: 'Nagrywaj',
237
235
  promptFieldStopRecording: 'Zatrzymaj nagrywanie'
@@ -159,9 +159,9 @@ const BaseSelect = forwardRef(function BaseSelect(props, ref) {
159
159
  labelId: labelId,
160
160
  label: label,
161
161
  displayEmpty: true,
162
- onChange: onChange
162
+ onChange: onChange,
163
+ variant: "outlined"
163
164
  }, rest, {
164
- variant: "outlined",
165
165
  notched: true,
166
166
  inputProps: slotProps?.htmlInput,
167
167
  onOpen: onOpen,
@@ -1,3 +1,4 @@
1
+ import type { Virtualizer } from '@mui/x-virtualizer';
1
2
  import type { GridColumnApi } from "./gridColumnApi.js";
2
3
  import type { GridColumnMenuApi } from "./gridColumnMenuApi.js";
3
4
  import type { GridCoreApi, GridCorePrivateApi } from "./gridCoreApi.js";
@@ -31,5 +32,7 @@ import type { DataGridProcessedProps } from "../props/DataGridProps.js";
31
32
  import type { GridColumnResizeApi } from "../../hooks/features/columnResize/index.js";
32
33
  import type { GridPivotingPrivateApiCommunity } from "../../hooks/features/pivoting/gridPivotingInterfaces.js";
33
34
  export interface GridApiCommon<GridState extends GridStateCommunity = any, GridInitialState extends GridInitialStateCommunity = any> extends GridCoreApi, GridPipeProcessingApi, GridDensityApi, GridDimensionsApi, GridRowApi, GridRowsMetaApi, GridEditingApi, GridParamsApi, GridColumnApi, GridRowSelectionApi, GridSortApi, GridPaginationApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridVirtualizationApi, GridLocaleTextApi, GridScrollApi, GridColumnSpanningApi, GridStateApi<GridState>, GridStatePersistenceApi<GridInitialState>, GridColumnGroupingApi, GridHeaderFilteringApi, GridColumnResizeApi {}
34
- export interface GridPrivateOnlyApiCommon<Api extends GridApiCommon, PrivateApi extends GridPrivateApiCommon, Props extends DataGridProcessedProps> extends GridCorePrivateApi<Api, PrivateApi, Props>, GridStatePrivateApi<PrivateApi['state']>, GridPipeProcessingPrivateApi, GridStrategyProcessingApi, GridColumnSpanningPrivateApi, GridRowsMetaPrivateApi, GridDimensionsPrivateApi, GridEditingPrivateApi, GridLoggerApi, GridFocusPrivateApi, GridHeaderFilteringPrivateApi, GridVirtualizationPrivateApi, GridRowProPrivateApi, GridParamsPrivateApi, GridPivotingPrivateApiCommunity {}
35
+ export interface GridPrivateOnlyApiCommon<Api extends GridApiCommon, PrivateApi extends GridPrivateApiCommon, Props extends DataGridProcessedProps> extends GridCorePrivateApi<Api, PrivateApi, Props>, GridStatePrivateApi<PrivateApi['state']>, GridPipeProcessingPrivateApi, GridStrategyProcessingApi, GridColumnSpanningPrivateApi, GridRowsMetaPrivateApi, GridDimensionsPrivateApi, GridEditingPrivateApi, GridLoggerApi, GridFocusPrivateApi, GridHeaderFilteringPrivateApi, GridVirtualizationPrivateApi, GridRowProPrivateApi, GridParamsPrivateApi, GridPivotingPrivateApiCommunity {
36
+ virtualizer: Virtualizer;
37
+ }
35
38
  export interface GridPrivateApiCommon extends GridApiCommon, GridPrivateOnlyApiCommon<GridApiCommon, GridPrivateApiCommon, DataGridProcessedProps> {}
@@ -19,16 +19,10 @@ export interface GridColumnSpanningPrivateApi {
19
19
  resetColSpan: () => void;
20
20
  /**
21
21
  * Calculate column spanning for each cell in the row
22
- * @param {Object} options The options to apply on the calculation.
23
- * @param {GridRowId} options.rowId The row id
24
- * @param {number} options.minFirstColumn First visible column index
25
- * @param {number} options.maxLastColumn Last visible column index
26
- * @param {GridStateColDef[]} options.columns List of columns to calculate colSpan for
22
+ * @param {GridRowId} rowId The row id
23
+ * @param {number} minFirstColumn First visible column index
24
+ * @param {number} maxLastColumn Last visible column index
25
+ * @param {GridStateColDef[]} columns List of columns to calculate colSpan for
27
26
  */
28
- calculateColSpan: (options: {
29
- rowId: GridRowId;
30
- minFirstColumn: number;
31
- maxLastColumn: number;
32
- columns: GridStateColDef[];
33
- }) => void;
27
+ calculateColSpan: (rowId: GridRowId, minFirstColumn: number, maxLastColumn: number, columns: GridStateColDef[]) => void;
34
28
  }
@@ -8,6 +8,7 @@ import type { GridVisibleRowsLookupState } from "../hooks/features/filter/gridFi
8
8
  import type { GridColumnResizeState } from "../hooks/features/columnResize/index.js";
9
9
  import type { GridRowSpanningState } from "../hooks/features/rows/useGridRowSpanning.js";
10
10
  import type { GridListViewState } from "../hooks/features/listView/useGridListView.js";
11
+ import type { GridRowReorderState } from "../hooks/features/rowReorder/gridRowReorderInterfaces.js";
11
12
  /**
12
13
  * Some props are passed on the state to enable grid selectors to select
13
14
  * and react to them.
@@ -41,6 +42,7 @@ export interface GridStateCommunity {
41
42
  columnResize: GridColumnResizeState;
42
43
  rowSpanning: GridRowSpanningState;
43
44
  listViewColumn: GridListViewState;
45
+ rowReorder: GridRowReorderState;
44
46
  }
45
47
  /**
46
48
  * The initial state of Data Grid.