@mui/x-data-grid 5.4.0 → 5.5.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.
- package/CHANGELOG.md +60 -17
- package/index-cjs.js +2 -2
- package/index-esm.js +2 -2
- package/package.json +1 -1
- package/x-data-grid.d.ts +305 -118
package/x-data-grid.d.ts
CHANGED
|
@@ -182,6 +182,19 @@ interface GridRowTreeNodeConfig {
|
|
|
182
182
|
*/
|
|
183
183
|
isAutoGenerated?: boolean;
|
|
184
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* The grid rows total height and row possitions.
|
|
187
|
+
*/
|
|
188
|
+
interface GridRowsMeta {
|
|
189
|
+
/**
|
|
190
|
+
* The sum of of all grid rows.
|
|
191
|
+
*/
|
|
192
|
+
totalHeight: number;
|
|
193
|
+
/**
|
|
194
|
+
* The grid rows possitions.
|
|
195
|
+
*/
|
|
196
|
+
positions: number[];
|
|
197
|
+
}
|
|
185
198
|
declare type GridRowTreeConfig = Record<GridRowId, GridRowTreeNodeConfig>;
|
|
186
199
|
declare type GridRowsLookup = Record<GridRowId, GridRowModel>;
|
|
187
200
|
/**
|
|
@@ -261,6 +274,132 @@ declare type GridColumnHeaderClassFn = (params: GridColumnHeaderParams) => strin
|
|
|
261
274
|
*/
|
|
262
275
|
declare type GridColumnHeaderClassNamePropType = string | GridColumnHeaderClassFn;
|
|
263
276
|
|
|
277
|
+
interface GridEditCellPropsParams {
|
|
278
|
+
id: GridRowId;
|
|
279
|
+
field: string;
|
|
280
|
+
props: GridEditCellProps;
|
|
281
|
+
}
|
|
282
|
+
interface GridEditCellValueParams {
|
|
283
|
+
id: GridRowId;
|
|
284
|
+
field: string;
|
|
285
|
+
value: GridCellValue;
|
|
286
|
+
}
|
|
287
|
+
interface GridCommitCellChangeParams {
|
|
288
|
+
id: GridRowId;
|
|
289
|
+
field: string;
|
|
290
|
+
}
|
|
291
|
+
interface GridCellEditCommitParams {
|
|
292
|
+
id: GridRowId;
|
|
293
|
+
field: string;
|
|
294
|
+
value: GridCellValue;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
declare type MuiBaseEvent = React$1.SyntheticEvent<HTMLElement> | DocumentEventMap[keyof DocumentEventMap] | {};
|
|
298
|
+
declare type MuiEvent<E extends MuiBaseEvent = MuiBaseEvent> = E & {
|
|
299
|
+
defaultMuiPrevented?: boolean;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The shared methods used by the cell and row editing API.
|
|
304
|
+
*/
|
|
305
|
+
interface GridEditingSharedApi {
|
|
306
|
+
/**
|
|
307
|
+
* Set the edit rows model of the grid.
|
|
308
|
+
* @param {GridEditRowsModel} model The new edit rows model.
|
|
309
|
+
*/
|
|
310
|
+
setEditRowsModel: (model: GridEditRowsModel) => void;
|
|
311
|
+
/**
|
|
312
|
+
* Gets the edit rows model of the grid.
|
|
313
|
+
* @returns {GridEditRowsModel} The edit rows model.
|
|
314
|
+
*/
|
|
315
|
+
getEditRowsModel: () => GridEditRowsModel;
|
|
316
|
+
/**
|
|
317
|
+
* Controls if a cell is editable.
|
|
318
|
+
* @param {GridCellParams} params The cell params.
|
|
319
|
+
* @returns {boolean} A boolean value determining if the cell is editable.
|
|
320
|
+
*/
|
|
321
|
+
isCellEditable: (params: GridCellParams) => boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Sets the value of the edit cell.
|
|
324
|
+
* Commonly used inside the edit cell component.
|
|
325
|
+
* @param {GridEditCellValueParams} params Contains the id, field and value to set.
|
|
326
|
+
* @param {React.SyntheticEvent} event The event to pass forward.
|
|
327
|
+
* @returns {Promise<boolean> | void} A promise with the validation status if `preventCommitWhileValidating` is `true`. Otherwise, void.
|
|
328
|
+
*/
|
|
329
|
+
setEditCellValue: (params: GridEditCellValueParams, event?: MuiBaseEvent) => Promise<boolean> | void;
|
|
330
|
+
/**
|
|
331
|
+
* @ignore - do not document.
|
|
332
|
+
*/
|
|
333
|
+
unstable_setEditCellProps: (params: GridEditCellPropsParams) => GridEditCellProps;
|
|
334
|
+
/**
|
|
335
|
+
* @ignore - do not document.
|
|
336
|
+
*/
|
|
337
|
+
unstable_parseValue: (id: GridRowId, field: string, value: GridCellValue) => GridCellValue;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* The row editing API interface.
|
|
341
|
+
*/
|
|
342
|
+
interface GridRowEditingApi extends GridEditingSharedApi {
|
|
343
|
+
/**
|
|
344
|
+
* Sets the mode of a row.
|
|
345
|
+
* @param {GridRowId} id The id of the row.
|
|
346
|
+
* @param {GridRowMode} mode Can be: `"edit"`, `"view"`.
|
|
347
|
+
*/
|
|
348
|
+
setRowMode: (id: GridRowId, mode: GridRowMode) => void;
|
|
349
|
+
/**
|
|
350
|
+
* Gets the mode of a row.
|
|
351
|
+
* @param {GridRowId} id The id of the row.
|
|
352
|
+
* @returns {GridRowMode} Returns `"edit"` or `"view"`.
|
|
353
|
+
*/
|
|
354
|
+
getRowMode: (id: GridRowId) => GridRowMode;
|
|
355
|
+
/**
|
|
356
|
+
* Updates the row at the given id with the values stored in the edit row model.
|
|
357
|
+
* @param {GridRowId} id The id to commit to.
|
|
358
|
+
* @param {React.SyntheticEvent} event The event to pass forward.
|
|
359
|
+
* @returns {boolean} A boolean indicating if there is an error.
|
|
360
|
+
*/
|
|
361
|
+
commitRowChange: (id: GridRowId, event?: MuiBaseEvent) => boolean | Promise<boolean>;
|
|
362
|
+
/**
|
|
363
|
+
* @ignore - do not document.
|
|
364
|
+
*/
|
|
365
|
+
unstable_setRowEditingEditCellValue: (params: GridEditCellValueParams) => Promise<boolean>;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* The cell editing API interface.
|
|
369
|
+
*/
|
|
370
|
+
interface GridCellEditingApi extends GridEditingSharedApi {
|
|
371
|
+
/**
|
|
372
|
+
* Updates the field at the given id with the value stored in the edit row model.
|
|
373
|
+
* @param {GridCommitCellChangeParams} params The id and field to commit to.
|
|
374
|
+
* @param {React.SyntheticEvent} event The event to pass forward.
|
|
375
|
+
* @returns {boolean} A boolean indicating if there is an error.
|
|
376
|
+
*/
|
|
377
|
+
commitCellChange: (params: GridCommitCellChangeParams, event?: MuiBaseEvent) => boolean | Promise<boolean>;
|
|
378
|
+
/**
|
|
379
|
+
* Sets the mode of a cell.
|
|
380
|
+
* @param {GridRowId} id The id of the row.
|
|
381
|
+
* @param {string} field The field to change the mode.
|
|
382
|
+
* @param {GridCellMode} mode Can be: `"edit"`, `"view"`.
|
|
383
|
+
*/
|
|
384
|
+
setCellMode: (id: GridRowId, field: string, mode: GridCellMode) => void;
|
|
385
|
+
/**
|
|
386
|
+
* Gets the mode of a cell.
|
|
387
|
+
* @param {GridRowId} id The id of the row.
|
|
388
|
+
* @param {string} field The field to get the mode.
|
|
389
|
+
* @returns {GridCellMode} Returns `"edit"` or `"view"`.
|
|
390
|
+
*/
|
|
391
|
+
getCellMode: (id: GridRowId, field: string) => GridCellMode;
|
|
392
|
+
/**
|
|
393
|
+
* @ignore - do not document.
|
|
394
|
+
*/
|
|
395
|
+
unstable_setCellEditingEditCellValue: (params: GridEditCellValueParams) => void;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* The editing API interface that is available in the grid `apiRef`.
|
|
399
|
+
*/
|
|
400
|
+
interface GridEditingApi extends GridCellEditingApi, GridRowEditingApi {
|
|
401
|
+
}
|
|
402
|
+
|
|
264
403
|
/**
|
|
265
404
|
* The apiRef component prop type.
|
|
266
405
|
*/
|
|
@@ -354,11 +493,6 @@ interface GridParamsApi {
|
|
|
354
493
|
getColumnHeaderParams: (field: string) => GridColumnHeaderParams;
|
|
355
494
|
}
|
|
356
495
|
|
|
357
|
-
declare type MuiBaseEvent = React$1.SyntheticEvent<HTMLElement> | DocumentEventMap[keyof DocumentEventMap] | {};
|
|
358
|
-
declare type MuiEvent<E extends MuiBaseEvent = MuiBaseEvent> = E & {
|
|
359
|
-
defaultMuiPrevented?: boolean;
|
|
360
|
-
};
|
|
361
|
-
|
|
362
496
|
/**
|
|
363
497
|
* Additional details passed to the callbacks
|
|
364
498
|
*/
|
|
@@ -632,6 +766,11 @@ declare enum GridEvents {
|
|
|
632
766
|
* Fired when the columns state is changed.
|
|
633
767
|
*/
|
|
634
768
|
columnsChange = "columnsChange",
|
|
769
|
+
/**
|
|
770
|
+
* Fired when the open detail panels are changed.
|
|
771
|
+
* @ignore - do not document.
|
|
772
|
+
*/
|
|
773
|
+
detailPanelsExpandedRowIdsChange = "detailPanelsExpandedRowIdsChange",
|
|
635
774
|
/**
|
|
636
775
|
* Fired when the pinned columns is changed.
|
|
637
776
|
* @ignore - do not document.
|
|
@@ -745,26 +884,6 @@ interface GridColumnVisibilityChangeParams {
|
|
|
745
884
|
isVisible: boolean;
|
|
746
885
|
}
|
|
747
886
|
|
|
748
|
-
interface GridEditCellPropsParams {
|
|
749
|
-
id: GridRowId;
|
|
750
|
-
field: string;
|
|
751
|
-
props: GridEditCellProps;
|
|
752
|
-
}
|
|
753
|
-
interface GridEditCellValueParams {
|
|
754
|
-
id: GridRowId;
|
|
755
|
-
field: string;
|
|
756
|
-
value: GridCellValue;
|
|
757
|
-
}
|
|
758
|
-
interface GridCommitCellChangeParams {
|
|
759
|
-
id: GridRowId;
|
|
760
|
-
field: string;
|
|
761
|
-
}
|
|
762
|
-
interface GridCellEditCommitParams {
|
|
763
|
-
id: GridRowId;
|
|
764
|
-
field: string;
|
|
765
|
-
value: GridCellValue;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
887
|
/**
|
|
769
888
|
* Object passed as parameter in the onRowsScrollEnd callback.
|
|
770
889
|
*/
|
|
@@ -839,7 +958,8 @@ interface GridColumnMenuState {
|
|
|
839
958
|
}
|
|
840
959
|
|
|
841
960
|
interface OutputSelector<Result> {
|
|
842
|
-
(
|
|
961
|
+
(apiRef: GridApiRef): Result;
|
|
962
|
+
(state: GridState, instanceId?: number): Result;
|
|
843
963
|
cache: object;
|
|
844
964
|
}
|
|
845
965
|
|
|
@@ -1145,7 +1265,6 @@ declare const gridRowGroupingSanitizedModelSelector: OutputSelector<string[]>;
|
|
|
1145
1265
|
|
|
1146
1266
|
/**
|
|
1147
1267
|
* @category Filtering
|
|
1148
|
-
* @ignore - do not document.
|
|
1149
1268
|
*/
|
|
1150
1269
|
declare const gridFilterStateSelector: (state: GridState) => GridFilterState;
|
|
1151
1270
|
/**
|
|
@@ -1355,6 +1474,16 @@ interface GridIconSlotsComponent {
|
|
|
1355
1474
|
* @default GridExpandMoreIcon
|
|
1356
1475
|
*/
|
|
1357
1476
|
GroupingCriteriaCollapseIcon: React$1.JSXElementConstructor<any>;
|
|
1477
|
+
/**
|
|
1478
|
+
* Icon displayed on the detail panel toggle column when collapsed.
|
|
1479
|
+
* @default GridAddIcon
|
|
1480
|
+
*/
|
|
1481
|
+
DetailPanelExpandIcon: React$1.JSXElementConstructor<any>;
|
|
1482
|
+
/**
|
|
1483
|
+
* Icon displayed on the detail panel toggle column when expanded.
|
|
1484
|
+
* @default GridRemoveIcon
|
|
1485
|
+
*/
|
|
1486
|
+
DetailPanelCollapseIcon: React$1.JSXElementConstructor<any>;
|
|
1358
1487
|
}
|
|
1359
1488
|
|
|
1360
1489
|
/**
|
|
@@ -1475,6 +1604,7 @@ interface GridSlotsComponent extends GridIconSlotsComponent {
|
|
|
1475
1604
|
Panel: React$1.JSXElementConstructor<any>;
|
|
1476
1605
|
/**
|
|
1477
1606
|
* Component rendered for each row.
|
|
1607
|
+
* @default GridRow
|
|
1478
1608
|
*/
|
|
1479
1609
|
Row: React$1.JSXElementConstructor<any>;
|
|
1480
1610
|
}
|
|
@@ -1620,6 +1750,22 @@ interface GridClasses {
|
|
|
1620
1750
|
* Styles applied to the columns panel row element.
|
|
1621
1751
|
*/
|
|
1622
1752
|
columnsPanelRow: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* Styles applied to the detail panel element.
|
|
1755
|
+
*/
|
|
1756
|
+
detailPanel: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* Styles applied to the detail panels wrapper element.
|
|
1759
|
+
*/
|
|
1760
|
+
detailPanels: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* Styles applied to the detail panel toggle cell element.
|
|
1763
|
+
*/
|
|
1764
|
+
detailPanelToggleCell: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* Styles applied to the detail panel toggle cell element if expanded.
|
|
1767
|
+
*/
|
|
1768
|
+
'detailPanelToggleCell--expanded': string;
|
|
1623
1769
|
/**
|
|
1624
1770
|
* Styles applied to the panel element.
|
|
1625
1771
|
*/
|
|
@@ -1800,7 +1946,7 @@ interface GridClasses {
|
|
|
1800
1946
|
}
|
|
1801
1947
|
declare type GridClassKey = keyof GridClasses;
|
|
1802
1948
|
declare function getDataGridUtilityClass(slot: string): string;
|
|
1803
|
-
declare const gridClasses: Record<"actionsCell" | "autoHeight" | "booleanCell" | "cell--editable" | "cell--editing" | "cell--textCenter" | "cell--textLeft" | "cell--textRight" | "cell--withRenderer" | "cell" | "cellCheckbox" | "checkboxInput" | "columnHeader--alignCenter" | "columnHeader--alignLeft" | "columnHeader--alignRight" | "columnHeader--dragging" | "columnHeader--moving" | "columnHeader--numeric" | "columnHeader--sortable" | "columnHeader--sorted" | "columnHeader" | "columnHeaderCheckbox" | "columnHeaderDraggableContainer" | "columnHeaderDropZone" | "columnHeaderTitle" | "columnHeaderTitleContainer" | "columnHeaders" | "columnHeadersInner" | "columnHeadersInner--scrollable" | "columnSeparator--resizable" | "columnSeparator--resizing" | "columnSeparator--sideLeft" | "columnSeparator--sideRight" | "columnSeparator" | "columnsPanel" | "columnsPanelRow" | "panel" | "panelHeader" | "panelWrapper" | "panelContent" | "panelFooter" | "paper" | "editBooleanCell" | "editInputCell" | "filterForm" | "filterIcon" | "footerContainer" | "iconButtonContainer" | "iconSeparator" | "main" | "menu" | "menuIcon" | "menuIconButton" | "menuOpen" | "menuList" | "overlay" | "root" | "row--editable" | "row--editing" | "row" | "rowCount" | "scrollArea--left" | "scrollArea--right" | "scrollArea" | "selectedRowCount" | "sortIcon" | "toolbarContainer" | "toolbarFilterList" | "virtualScroller" | "virtualScrollerContent" | "virtualScrollerRenderZone" | "pinnedColumns" | "pinnedColumns--left" | "pinnedColumns--right" | "pinnedColumnHeaders" | "pinnedColumnHeaders--left" | "pinnedColumnHeaders--right" | "withBorder" | "treeDataGroupingCell" | "treeDataGroupingCellToggle" | "groupingCriteriaCell" | "groupingCriteriaCellToggle", string>;
|
|
1949
|
+
declare const gridClasses: Record<"actionsCell" | "autoHeight" | "booleanCell" | "cell--editable" | "cell--editing" | "cell--textCenter" | "cell--textLeft" | "cell--textRight" | "cell--withRenderer" | "cell" | "cellCheckbox" | "checkboxInput" | "columnHeader--alignCenter" | "columnHeader--alignLeft" | "columnHeader--alignRight" | "columnHeader--dragging" | "columnHeader--moving" | "columnHeader--numeric" | "columnHeader--sortable" | "columnHeader--sorted" | "columnHeader" | "columnHeaderCheckbox" | "columnHeaderDraggableContainer" | "columnHeaderDropZone" | "columnHeaderTitle" | "columnHeaderTitleContainer" | "columnHeaders" | "columnHeadersInner" | "columnHeadersInner--scrollable" | "columnSeparator--resizable" | "columnSeparator--resizing" | "columnSeparator--sideLeft" | "columnSeparator--sideRight" | "columnSeparator" | "columnsPanel" | "columnsPanelRow" | "detailPanel" | "detailPanels" | "detailPanelToggleCell" | "detailPanelToggleCell--expanded" | "panel" | "panelHeader" | "panelWrapper" | "panelContent" | "panelFooter" | "paper" | "editBooleanCell" | "editInputCell" | "filterForm" | "filterIcon" | "footerContainer" | "iconButtonContainer" | "iconSeparator" | "main" | "menu" | "menuIcon" | "menuIconButton" | "menuOpen" | "menuList" | "overlay" | "root" | "row--editable" | "row--editing" | "row" | "rowCount" | "scrollArea--left" | "scrollArea--right" | "scrollArea" | "selectedRowCount" | "sortIcon" | "toolbarContainer" | "toolbarFilterList" | "virtualScroller" | "virtualScrollerContent" | "virtualScrollerRenderZone" | "pinnedColumns" | "pinnedColumns--left" | "pinnedColumns--right" | "pinnedColumnHeaders" | "pinnedColumnHeaders--left" | "pinnedColumnHeaders--right" | "withBorder" | "treeDataGroupingCell" | "treeDataGroupingCellToggle" | "groupingCriteriaCell" | "groupingCriteriaCellToggle", string>;
|
|
1804
1950
|
|
|
1805
1951
|
/**
|
|
1806
1952
|
* Overrideable components props dynamically passed to the component at rendering.
|
|
@@ -2134,6 +2280,12 @@ interface DataGridPropsWithoutDefaultValue extends CommonProps {
|
|
|
2134
2280
|
* @returns {GridRowHeightReturnValue} The row height value. If `null` or `undefined` then the default row height is applied.
|
|
2135
2281
|
*/
|
|
2136
2282
|
getRowHeight?: (params: GridRowHeightParams) => GridRowHeightReturnValue;
|
|
2283
|
+
/**
|
|
2284
|
+
* Function that returns the element to render in row detail.
|
|
2285
|
+
* @param {GridRowParams} params With all properties from [[GridRowParams]].
|
|
2286
|
+
* @returns {JSX.Element} The row detail element.
|
|
2287
|
+
*/
|
|
2288
|
+
getDetailPanelContent?: (params: GridRowParams) => React.ReactNode;
|
|
2137
2289
|
/**
|
|
2138
2290
|
* Callback fired when a cell is rendered, returns true if the cell is editable.
|
|
2139
2291
|
* @param {GridCellParams} params With all properties from [[GridCellParams]].
|
|
@@ -2500,6 +2652,13 @@ interface DataGridProPropsWithDefaultValue extends DataGridPropsWithDefaultValue
|
|
|
2500
2652
|
* @default 'single'
|
|
2501
2653
|
*/
|
|
2502
2654
|
rowGroupingColumnMode: 'single' | 'multiple';
|
|
2655
|
+
/**
|
|
2656
|
+
* Function that returns the height of the row detail panel.
|
|
2657
|
+
* @param {GridRowParams} params With all properties from [[GridRowParams]].
|
|
2658
|
+
* @returns {number} The height in pixels.
|
|
2659
|
+
* @default "() => 500"
|
|
2660
|
+
*/
|
|
2661
|
+
getDetailPanelHeight: (params: GridRowParams) => number;
|
|
2503
2662
|
}
|
|
2504
2663
|
interface DataGridProPropsWithoutDefaultValue extends DataGridPropsWithoutDefaultValue {
|
|
2505
2664
|
/**
|
|
@@ -2555,6 +2714,22 @@ interface DataGridProPropsWithoutDefaultValue extends DataGridPropsWithoutDefaul
|
|
|
2555
2714
|
* The grouping column used by the tree data.
|
|
2556
2715
|
*/
|
|
2557
2716
|
groupingColDef?: GridGroupingColDefOverride | ((params: GridGroupingColDefOverrideParams) => GridGroupingColDefOverride | undefined | null);
|
|
2717
|
+
/**
|
|
2718
|
+
* The row ids to show the detail panel.
|
|
2719
|
+
*/
|
|
2720
|
+
detailPanelExpandedRowIds?: GridRowId[];
|
|
2721
|
+
/**
|
|
2722
|
+
* Callback fired when the detail panel of a row is opened or closed.
|
|
2723
|
+
* @param {GridRowId[]} ids The ids of the rows which have the detail panel open.
|
|
2724
|
+
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
2725
|
+
*/
|
|
2726
|
+
onDetailPanelExpandedRowIdsChange?: (ids: GridRowId[], details: GridCallbackDetails) => void;
|
|
2727
|
+
/**
|
|
2728
|
+
* Function that returns the element to render in row detail.
|
|
2729
|
+
* @param {GridRowParams} params With all properties from [[GridRowParams]].
|
|
2730
|
+
* @returns {JSX.Element} The row detail element.
|
|
2731
|
+
*/
|
|
2732
|
+
getDetailPanelContent?: (params: GridRowParams) => React.ReactNode;
|
|
2558
2733
|
}
|
|
2559
2734
|
|
|
2560
2735
|
declare const GRID_ROW_GROUPING_SINGLE_GROUPING_FIELD = "__row_group_by_columns_group__";
|
|
@@ -2617,6 +2792,13 @@ interface GridRowsMetaState {
|
|
|
2617
2792
|
positions: number[];
|
|
2618
2793
|
}
|
|
2619
2794
|
|
|
2795
|
+
interface GridDetailPanelState {
|
|
2796
|
+
expandedRowIds: GridRowId[];
|
|
2797
|
+
contentCache: Record<GridRowId, React.ReactNode>;
|
|
2798
|
+
heightCache: Record<GridRowId, number>;
|
|
2799
|
+
}
|
|
2800
|
+
declare type GridDetailPanelInitialState = Pick<GridDetailPanelState, 'expandedRowIds'>;
|
|
2801
|
+
|
|
2620
2802
|
/**
|
|
2621
2803
|
* TODO: Distinguish pro and community states
|
|
2622
2804
|
*/
|
|
@@ -2639,6 +2821,7 @@ interface GridState {
|
|
|
2639
2821
|
rowGrouping: GridRowGroupingState;
|
|
2640
2822
|
error?: any;
|
|
2641
2823
|
pinnedColumns: GridColumnPinningState;
|
|
2824
|
+
detailPanel: GridDetailPanelState;
|
|
2642
2825
|
}
|
|
2643
2826
|
interface GridInitialState {
|
|
2644
2827
|
pagination?: GridPaginationInitialState;
|
|
@@ -2648,6 +2831,7 @@ interface GridInitialState {
|
|
|
2648
2831
|
preferencePanel?: GridPreferencePanelInitialState;
|
|
2649
2832
|
rowGrouping?: GridRowGroupingInitialState;
|
|
2650
2833
|
pinnedColumns?: GridColumnPinningState;
|
|
2834
|
+
detailPanel?: GridDetailPanelInitialState;
|
|
2651
2835
|
}
|
|
2652
2836
|
|
|
2653
2837
|
interface GridStateChangeParams {
|
|
@@ -2696,37 +2880,65 @@ interface ElementSize {
|
|
|
2696
2880
|
width: number;
|
|
2697
2881
|
}
|
|
2698
2882
|
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2883
|
+
interface GridStatePersistenceApi {
|
|
2884
|
+
/**
|
|
2885
|
+
* Generates a serializable object containing the exportable parts of the DataGrid state.
|
|
2886
|
+
* These values can then be passed to the `initialState` prop or injected using the `restoreState` method.
|
|
2887
|
+
* @returns {GridInitialState} The exported state.
|
|
2888
|
+
*/
|
|
2889
|
+
exportState: () => GridInitialState;
|
|
2890
|
+
/**
|
|
2891
|
+
* Inject the given values into the state of the DataGrid.
|
|
2892
|
+
* @param {GridInitialState} stateToRestore The exported state to restore.
|
|
2893
|
+
*/
|
|
2894
|
+
restoreState: (stateToRestore: GridInitialState) => void;
|
|
2895
|
+
}
|
|
2896
|
+
interface GridRestoreStatePreProcessingValue {
|
|
2897
|
+
/**
|
|
2898
|
+
* Functions to run after the state has been updated but before re-rendering.
|
|
2899
|
+
* This is usually used to apply derived states like `applyFilters` or `applySorting`
|
|
2900
|
+
*/
|
|
2901
|
+
callbacks: (() => void)[];
|
|
2707
2902
|
}
|
|
2903
|
+
interface GridRestoreStatePreProcessingContext {
|
|
2904
|
+
stateToRestore: GridInitialState;
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
declare type PreProcessorCallback = (value: any, params?: any) => any;
|
|
2908
|
+
declare type GridPreProcessingGroup = keyof GridPreProcessingGroupLookup;
|
|
2708
2909
|
interface GridPreProcessingGroupLookup {
|
|
2709
|
-
|
|
2910
|
+
hydrateColumns: {
|
|
2710
2911
|
value: Omit<GridColumnsRawState, 'columnVisibilityModel'>;
|
|
2711
2912
|
};
|
|
2712
|
-
|
|
2913
|
+
scrollToIndexes: {
|
|
2713
2914
|
value: Partial<GridScrollParams>;
|
|
2714
2915
|
context: Partial<GridCellIndexCoordinates>;
|
|
2715
2916
|
};
|
|
2716
|
-
|
|
2917
|
+
columnMenu: {
|
|
2717
2918
|
value: JSX.Element[];
|
|
2718
2919
|
context: GridColDef;
|
|
2719
2920
|
};
|
|
2720
|
-
|
|
2921
|
+
canBeReordered: {
|
|
2721
2922
|
value: boolean;
|
|
2722
2923
|
context: GridCanBeReorderedPreProcessingContext;
|
|
2723
2924
|
};
|
|
2724
|
-
|
|
2925
|
+
filteringMethod: {
|
|
2725
2926
|
value: GridFilteringMethodCollection;
|
|
2726
2927
|
};
|
|
2727
|
-
|
|
2928
|
+
sortingMethod: {
|
|
2728
2929
|
value: GridSortingMethodCollection;
|
|
2729
2930
|
};
|
|
2931
|
+
exportState: {
|
|
2932
|
+
value: GridInitialState;
|
|
2933
|
+
};
|
|
2934
|
+
restoreState: {
|
|
2935
|
+
value: GridRestoreStatePreProcessingValue;
|
|
2936
|
+
context: GridRestoreStatePreProcessingContext;
|
|
2937
|
+
};
|
|
2938
|
+
rowHeight: {
|
|
2939
|
+
value: Record<string, number>;
|
|
2940
|
+
context: GridRowEntry;
|
|
2941
|
+
};
|
|
2730
2942
|
}
|
|
2731
2943
|
declare type GridPreProcessorsApplierArg<P extends GridPreProcessingGroup, T extends {
|
|
2732
2944
|
value: any;
|
|
@@ -2889,6 +3101,9 @@ interface GridControlledStateEventLookup {
|
|
|
2889
3101
|
columnVisibilityModelChange: {
|
|
2890
3102
|
params: GridColumnVisibilityModel;
|
|
2891
3103
|
};
|
|
3104
|
+
detailPanelsExpandedRowIdsChange: {
|
|
3105
|
+
params: GridRowId[];
|
|
3106
|
+
};
|
|
2892
3107
|
}
|
|
2893
3108
|
interface GridEventLookup extends GridRowEventLookup, GridColumnHeaderEventLookup, GridCellEventLookup, GridControlledStateEventLookup {
|
|
2894
3109
|
unmount: {};
|
|
@@ -3159,76 +3374,6 @@ interface GridDensityApi {
|
|
|
3159
3374
|
setDensity: (density: GridDensity, headerHeight?: number, rowHeight?: number) => void;
|
|
3160
3375
|
}
|
|
3161
3376
|
|
|
3162
|
-
/**
|
|
3163
|
-
* The editing API interface that is available in the grid `apiRef`.
|
|
3164
|
-
*/
|
|
3165
|
-
interface GridEditRowApi {
|
|
3166
|
-
/**
|
|
3167
|
-
* Set the edit rows model of the grid.
|
|
3168
|
-
* @param {GridEditRowsModel} model The new edit rows model.
|
|
3169
|
-
*/
|
|
3170
|
-
setEditRowsModel: (model: GridEditRowsModel) => void;
|
|
3171
|
-
/**
|
|
3172
|
-
* Gets the edit rows model of the grid.
|
|
3173
|
-
* @returns {GridEditRowsModel} The edit rows model.
|
|
3174
|
-
*/
|
|
3175
|
-
getEditRowsModel: () => GridEditRowsModel;
|
|
3176
|
-
/**
|
|
3177
|
-
* Sets the mode of a cell.
|
|
3178
|
-
* @param {GridRowId} id The id of the row.
|
|
3179
|
-
* @param {string} field The field to change the mode.
|
|
3180
|
-
* @param {GridCellMode} mode Can be: `"edit"`, `"view"`.
|
|
3181
|
-
*/
|
|
3182
|
-
setCellMode: (id: GridRowId, field: string, mode: GridCellMode) => void;
|
|
3183
|
-
/**
|
|
3184
|
-
* Gets the mode of a cell.
|
|
3185
|
-
* @param {GridRowId} id The id of the row.
|
|
3186
|
-
* @param {string} field The field to get the mode.
|
|
3187
|
-
* @returns {GridCellMode} Returns `"edit"` or `"view"`.
|
|
3188
|
-
*/
|
|
3189
|
-
getCellMode: (id: GridRowId, field: string) => GridCellMode;
|
|
3190
|
-
/**
|
|
3191
|
-
* Sets the mode of a row.
|
|
3192
|
-
* @param {GridRowId} id The id of the row.
|
|
3193
|
-
* @param {GridRowMode} mode Can be: `"edit"`, `"view"`.
|
|
3194
|
-
*/
|
|
3195
|
-
setRowMode: (id: GridRowId, mode: GridRowMode) => void;
|
|
3196
|
-
/**
|
|
3197
|
-
* Gets the mode of a row.
|
|
3198
|
-
* @param {GridRowId} id The id of the row.
|
|
3199
|
-
* @returns {GridRowMode} Returns `"edit"` or `"view"`.
|
|
3200
|
-
*/
|
|
3201
|
-
getRowMode: (id: GridRowId) => GridRowMode;
|
|
3202
|
-
/**
|
|
3203
|
-
* Controls if a cell is editable.
|
|
3204
|
-
* @param {GridCellParams} params The cell params.
|
|
3205
|
-
* @returns {boolean} A boolean value determining if the cell is editable.
|
|
3206
|
-
*/
|
|
3207
|
-
isCellEditable: (params: GridCellParams) => boolean;
|
|
3208
|
-
/**
|
|
3209
|
-
* Sets the value of the edit cell.
|
|
3210
|
-
* Commonly used inside the edit cell component.
|
|
3211
|
-
* @param {GridEditCellValueParams} params Contains the id, field and value to set.
|
|
3212
|
-
* @param {React.SyntheticEvent} event The event to pass forward.
|
|
3213
|
-
* @returns {Promise<boolean> | void} A promise with the validation status if `preventCommitWhileValidating` is `true`. Otherwise, void.
|
|
3214
|
-
*/
|
|
3215
|
-
setEditCellValue: (params: GridEditCellValueParams, event?: MuiBaseEvent) => Promise<boolean> | void;
|
|
3216
|
-
/**
|
|
3217
|
-
* Updates the field at the given id with the value stored in the edit row model.
|
|
3218
|
-
* @param {GridCommitCellChangeParams} params The id and field to commit to.
|
|
3219
|
-
* @param {React.SyntheticEvent} event The event to pass forward.
|
|
3220
|
-
* @returns {boolean} A boolean indicating if there is an error.
|
|
3221
|
-
*/
|
|
3222
|
-
commitCellChange: (params: GridCommitCellChangeParams, event?: MuiBaseEvent) => boolean | Promise<boolean>;
|
|
3223
|
-
/**
|
|
3224
|
-
* Updates the row at the given id with the values stored in the edit row model.
|
|
3225
|
-
* @param {GridRowId} id The id to commit to.
|
|
3226
|
-
* @param {React.SyntheticEvent} event The event to pass forward.
|
|
3227
|
-
* @returns {boolean} A boolean indicating if there is an error.
|
|
3228
|
-
*/
|
|
3229
|
-
commitRowChange: (id: GridRowId, event?: MuiBaseEvent) => boolean | Promise<boolean>;
|
|
3230
|
-
}
|
|
3231
|
-
|
|
3232
3377
|
/**
|
|
3233
3378
|
* The Row API interface that is available in the grid `apiRef`.
|
|
3234
3379
|
*/
|
|
@@ -3283,7 +3428,7 @@ interface GridRowApi {
|
|
|
3283
3428
|
*/
|
|
3284
3429
|
interface GridRowsMetaApi {
|
|
3285
3430
|
/**
|
|
3286
|
-
* Gets
|
|
3431
|
+
* Gets base row height without considering additional height a row may take.
|
|
3287
3432
|
* @param {GridRowId} id The id of the row.
|
|
3288
3433
|
* @returns {number} The target row height.
|
|
3289
3434
|
* @ignore - do not document.
|
|
@@ -3394,7 +3539,7 @@ interface GridSortApi {
|
|
|
3394
3539
|
interface GridControlStateItem<E extends keyof GridControlledStateEventLookup> {
|
|
3395
3540
|
stateId: string;
|
|
3396
3541
|
propModel?: GridEventLookup[E]['params'];
|
|
3397
|
-
stateSelector: (state: GridState) => GridControlledStateEventLookup[E]['params'];
|
|
3542
|
+
stateSelector: OutputSelector<GridControlledStateEventLookup[E]['params']> | ((state: GridState) => GridControlledStateEventLookup[E]['params']);
|
|
3398
3543
|
propOnChange?: (model: GridControlledStateEventLookup[E]['params'], details: GridCallbackDetails) => void;
|
|
3399
3544
|
changeEvent: E;
|
|
3400
3545
|
}
|
|
@@ -3500,6 +3645,8 @@ interface GridLocaleText {
|
|
|
3500
3645
|
groupingColumnHeaderName: string;
|
|
3501
3646
|
groupColumn: (name: string) => string;
|
|
3502
3647
|
unGroupColumn: (name: string) => string;
|
|
3648
|
+
expandDetailPanel: string;
|
|
3649
|
+
collapseDetailPanel: string;
|
|
3503
3650
|
MuiTablePagination: Omit<ComponentsPropsList['MuiTablePagination'], 'page' | 'count' | 'onChangePage' | 'rowsPerPage' | 'onPageChange'>;
|
|
3504
3651
|
}
|
|
3505
3652
|
declare type GridTranslationKeys = keyof GridLocaleText;
|
|
@@ -3792,6 +3939,29 @@ interface GridVirtualScrollerApi {
|
|
|
3792
3939
|
unstable_getRenderContext: () => GridRenderContext;
|
|
3793
3940
|
}
|
|
3794
3941
|
|
|
3942
|
+
/**
|
|
3943
|
+
* The master/detail API interface that is available in the grid [[apiRef]].
|
|
3944
|
+
*/
|
|
3945
|
+
interface GridDetailPanelApi {
|
|
3946
|
+
/**
|
|
3947
|
+
* Expands or collapses the detail panel of a row.
|
|
3948
|
+
* @param {string} id The row id to toggle the panel.
|
|
3949
|
+
*/
|
|
3950
|
+
toggleDetailPanel: (id: GridRowId) => void;
|
|
3951
|
+
/**
|
|
3952
|
+
* Returns the rows whose detail panel is open.
|
|
3953
|
+
* @returns {GridRowId[]} An array of row ids.
|
|
3954
|
+
*/
|
|
3955
|
+
getExpandedDetailPanels: () => GridRowId[];
|
|
3956
|
+
/**
|
|
3957
|
+
* Changes which rows to expand the detail panel.
|
|
3958
|
+
* @param {GridRowId[]} ids The ids of the rows to open the detail panel.
|
|
3959
|
+
*/
|
|
3960
|
+
setExpandedDetailPanels: (ids: GridRowId[]) => void;
|
|
3961
|
+
}
|
|
3962
|
+
|
|
3963
|
+
declare type GridEditRowApi = GridEditingApi;
|
|
3964
|
+
|
|
3795
3965
|
declare type GridSortDirection = 'asc' | 'desc' | null | undefined;
|
|
3796
3966
|
interface GridSortCellParams {
|
|
3797
3967
|
id: GridRowId;
|
|
@@ -4227,7 +4397,7 @@ interface GridDimensionsApi {
|
|
|
4227
4397
|
/**
|
|
4228
4398
|
* The full grid API.
|
|
4229
4399
|
*/
|
|
4230
|
-
interface GridApi extends GridCoreApi, GridStateApi, GridLoggerApi, GridPreProcessingApi, GridRowGroupsPreProcessingApi, GridDensityApi, GridDimensionsApi, GridRowApi, GridRowsMetaApi,
|
|
4400
|
+
interface GridApi extends GridCoreApi, GridStateApi, GridLoggerApi, GridPreProcessingApi, GridRowGroupsPreProcessingApi, GridDensityApi, GridDimensionsApi, GridRowApi, GridRowsMetaApi, GridEditingApi, GridParamsApi, GridColumnApi, GridSelectionApi, GridSortApi, GridPaginationApi, GridCsvExportApi, GridFocusApi, GridFilterApi, GridColumnMenuApi, GridPreferencesPanelApi, GridPrintExportApi, GridDisableVirtualizationApi, GridLocaleTextApi, GridClipboardApi, GridScrollApi, GridRowGroupingApi, GridVirtualScrollerApi, GridColumnPinningApi, GridStatePersistenceApi, GridDetailPanelApi {
|
|
4231
4401
|
}
|
|
4232
4402
|
|
|
4233
4403
|
/**
|
|
@@ -4611,6 +4781,11 @@ declare const GridTreeDataGroupingCell: {
|
|
|
4611
4781
|
propTypes: any;
|
|
4612
4782
|
};
|
|
4613
4783
|
|
|
4784
|
+
declare const GridDetailPanelToggleCell: {
|
|
4785
|
+
(props: GridRenderCellParams): JSX.Element;
|
|
4786
|
+
propTypes: any;
|
|
4787
|
+
};
|
|
4788
|
+
|
|
4614
4789
|
interface GridRootProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4615
4790
|
/**
|
|
4616
4791
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
@@ -4744,6 +4919,9 @@ declare const GridCloseIcon: _mui_material_OverridableComponent.OverridableCompo
|
|
|
4744
4919
|
declare const GridAddIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
|
|
4745
4920
|
muiName: string;
|
|
4746
4921
|
};
|
|
4922
|
+
declare const GridRemoveIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
|
|
4923
|
+
muiName: string;
|
|
4924
|
+
};
|
|
4747
4925
|
declare const GridLoadIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
|
|
4748
4926
|
muiName: string;
|
|
4749
4927
|
};
|
|
@@ -5133,6 +5311,13 @@ declare const gridDateComparator: (value1: GridCellValue, value2: GridCellValue)
|
|
|
5133
5311
|
|
|
5134
5312
|
declare const GRID_TREE_DATA_GROUPING_FIELD = "__tree_data_group__";
|
|
5135
5313
|
|
|
5314
|
+
declare const GRID_DETAIL_PANEL_TOGGLE_FIELD = "__detail_panel_toggle__";
|
|
5315
|
+
declare const GRID_DETAIL_PANEL_TOGGLE_COL_DEF: GridColDef;
|
|
5316
|
+
|
|
5317
|
+
declare const gridDetailPanelExpandedRowIdsSelector: (state: GridState) => GridRowId[];
|
|
5318
|
+
declare const gridDetailPanelExpandedRowsContentCacheSelector: (state: GridState) => Record<GridRowId, React$1.ReactNode>;
|
|
5319
|
+
declare const gridDetailPanelExpandedRowsHeightCacheSelector: (state: GridState) => Record<GridRowId, number>;
|
|
5320
|
+
|
|
5136
5321
|
/**
|
|
5137
5322
|
* @deprecated Use `apiRef.current` instead.
|
|
5138
5323
|
*/
|
|
@@ -5157,8 +5342,8 @@ declare enum GridSignature {
|
|
|
5157
5342
|
DataGrid = "DataGrid",
|
|
5158
5343
|
DataGridPro = "DataGridPro"
|
|
5159
5344
|
}
|
|
5160
|
-
declare function createUseGridApiEventHandler(registry: CleanupTracking): <E extends "resize" | "debouncedResize" | "viewportInnerSizeChange" | "componentError" | "unmount" | "cellModeChange" | "cellClick" | "cellDoubleClick" | "cellMouseDown" | "cellMouseUp" | "cellKeyDown" | "cellFocusIn" | "cellFocusOut" | "cellDragEnter" | "cellDragOver" | "editCellPropsChange" | "cellEditCommit" | "cellEditStart" | "cellEditStop" | "rowEditStart" | "rowEditStop" | "rowEditCommit" | "cellNavigationKeyDown" | "rowClick" | "rowDoubleClick" | "rowMouseEnter" | "rowMouseLeave" | "editRowsModelChange" | "columnHeaderBlur" | "columnHeaderFocus" | "columnHeaderNavigationKeyDown" | "columnHeaderKeyDown" | "columnHeaderClick" | "columnHeaderDoubleClick" | "columnHeaderOver" | "columnHeaderOut" | "columnHeaderEnter" | "columnHeaderLeave" | "columnHeaderDragStart" | "columnHeaderDragOver" | "columnHeaderDragEnter" | "columnHeaderDragEnd" | "selectionChange" | "headerSelectionCheckboxChange" | "rowSelectionCheckboxChange" | "pageChange" | "pageSizeChange" | "rowGroupingModelChange" | "rowsScroll" | "rowsScrollEnd" | "columnSeparatorMouseDown" | "columnResize" | "columnWidthChange" | "columnResizeStart" | "columnResizeStop" | "columnOrderChange" | "rowsSet" | "rowExpansionChange" | "visibleRowsSet" | "columnsChange" | "pinnedColumnsChange" | "preProcessorRegister" | "preProcessorUnregister" | "rowGroupsPreProcessingChange" | "sortModelChange" | "filterModelChange" | "columnVisibilityModelChange" | "stateChange" | "columnVisibilityChange" | "virtualScrollerContentSizeChange">(apiRef: GridApiRef, eventName: E, handler?: GridEventListener<E> | undefined, options?: EventListenerOptions | undefined) => void;
|
|
5161
|
-
declare const useGridApiEventHandler: <E extends "resize" | "debouncedResize" | "viewportInnerSizeChange" | "componentError" | "unmount" | "cellModeChange" | "cellClick" | "cellDoubleClick" | "cellMouseDown" | "cellMouseUp" | "cellKeyDown" | "cellFocusIn" | "cellFocusOut" | "cellDragEnter" | "cellDragOver" | "editCellPropsChange" | "cellEditCommit" | "cellEditStart" | "cellEditStop" | "rowEditStart" | "rowEditStop" | "rowEditCommit" | "cellNavigationKeyDown" | "rowClick" | "rowDoubleClick" | "rowMouseEnter" | "rowMouseLeave" | "editRowsModelChange" | "columnHeaderBlur" | "columnHeaderFocus" | "columnHeaderNavigationKeyDown" | "columnHeaderKeyDown" | "columnHeaderClick" | "columnHeaderDoubleClick" | "columnHeaderOver" | "columnHeaderOut" | "columnHeaderEnter" | "columnHeaderLeave" | "columnHeaderDragStart" | "columnHeaderDragOver" | "columnHeaderDragEnter" | "columnHeaderDragEnd" | "selectionChange" | "headerSelectionCheckboxChange" | "rowSelectionCheckboxChange" | "pageChange" | "pageSizeChange" | "rowGroupingModelChange" | "rowsScroll" | "rowsScrollEnd" | "columnSeparatorMouseDown" | "columnResize" | "columnWidthChange" | "columnResizeStart" | "columnResizeStop" | "columnOrderChange" | "rowsSet" | "rowExpansionChange" | "visibleRowsSet" | "columnsChange" | "pinnedColumnsChange" | "preProcessorRegister" | "preProcessorUnregister" | "rowGroupsPreProcessingChange" | "sortModelChange" | "filterModelChange" | "columnVisibilityModelChange" | "stateChange" | "columnVisibilityChange" | "virtualScrollerContentSizeChange">(apiRef: GridApiRef, eventName: E, handler?: GridEventListener<E> | undefined, options?: EventListenerOptions | undefined) => void;
|
|
5345
|
+
declare function createUseGridApiEventHandler(registry: CleanupTracking): <E extends "resize" | "debouncedResize" | "viewportInnerSizeChange" | "componentError" | "unmount" | "cellModeChange" | "cellClick" | "cellDoubleClick" | "cellMouseDown" | "cellMouseUp" | "cellKeyDown" | "cellFocusIn" | "cellFocusOut" | "cellDragEnter" | "cellDragOver" | "editCellPropsChange" | "cellEditCommit" | "cellEditStart" | "cellEditStop" | "rowEditStart" | "rowEditStop" | "rowEditCommit" | "cellNavigationKeyDown" | "rowClick" | "rowDoubleClick" | "rowMouseEnter" | "rowMouseLeave" | "editRowsModelChange" | "columnHeaderBlur" | "columnHeaderFocus" | "columnHeaderNavigationKeyDown" | "columnHeaderKeyDown" | "columnHeaderClick" | "columnHeaderDoubleClick" | "columnHeaderOver" | "columnHeaderOut" | "columnHeaderEnter" | "columnHeaderLeave" | "columnHeaderDragStart" | "columnHeaderDragOver" | "columnHeaderDragEnter" | "columnHeaderDragEnd" | "selectionChange" | "headerSelectionCheckboxChange" | "rowSelectionCheckboxChange" | "pageChange" | "pageSizeChange" | "rowGroupingModelChange" | "rowsScroll" | "rowsScrollEnd" | "columnSeparatorMouseDown" | "columnResize" | "columnWidthChange" | "columnResizeStart" | "columnResizeStop" | "columnOrderChange" | "rowsSet" | "rowExpansionChange" | "visibleRowsSet" | "columnsChange" | "detailPanelsExpandedRowIdsChange" | "pinnedColumnsChange" | "preProcessorRegister" | "preProcessorUnregister" | "rowGroupsPreProcessingChange" | "sortModelChange" | "filterModelChange" | "columnVisibilityModelChange" | "stateChange" | "columnVisibilityChange" | "virtualScrollerContentSizeChange">(apiRef: GridApiRef, eventName: E, handler?: GridEventListener<E> | undefined, options?: EventListenerOptions | undefined) => void;
|
|
5346
|
+
declare const useGridApiEventHandler: <E extends "resize" | "debouncedResize" | "viewportInnerSizeChange" | "componentError" | "unmount" | "cellModeChange" | "cellClick" | "cellDoubleClick" | "cellMouseDown" | "cellMouseUp" | "cellKeyDown" | "cellFocusIn" | "cellFocusOut" | "cellDragEnter" | "cellDragOver" | "editCellPropsChange" | "cellEditCommit" | "cellEditStart" | "cellEditStop" | "rowEditStart" | "rowEditStop" | "rowEditCommit" | "cellNavigationKeyDown" | "rowClick" | "rowDoubleClick" | "rowMouseEnter" | "rowMouseLeave" | "editRowsModelChange" | "columnHeaderBlur" | "columnHeaderFocus" | "columnHeaderNavigationKeyDown" | "columnHeaderKeyDown" | "columnHeaderClick" | "columnHeaderDoubleClick" | "columnHeaderOver" | "columnHeaderOut" | "columnHeaderEnter" | "columnHeaderLeave" | "columnHeaderDragStart" | "columnHeaderDragOver" | "columnHeaderDragEnter" | "columnHeaderDragEnd" | "selectionChange" | "headerSelectionCheckboxChange" | "rowSelectionCheckboxChange" | "pageChange" | "pageSizeChange" | "rowGroupingModelChange" | "rowsScroll" | "rowsScrollEnd" | "columnSeparatorMouseDown" | "columnResize" | "columnWidthChange" | "columnResizeStart" | "columnResizeStop" | "columnOrderChange" | "rowsSet" | "rowExpansionChange" | "visibleRowsSet" | "columnsChange" | "detailPanelsExpandedRowIdsChange" | "pinnedColumnsChange" | "preProcessorRegister" | "preProcessorUnregister" | "rowGroupsPreProcessingChange" | "sortModelChange" | "filterModelChange" | "columnVisibilityModelChange" | "stateChange" | "columnVisibilityChange" | "virtualScrollerContentSizeChange">(apiRef: GridApiRef, eventName: E, handler?: GridEventListener<E> | undefined, options?: EventListenerOptions | undefined) => void;
|
|
5162
5347
|
declare function useGridApiOptionHandler<E extends GridEvents>(apiRef: GridApiRef, eventName: E, handler?: GridEventListener<E>): void;
|
|
5163
5348
|
|
|
5164
5349
|
declare function useGridApiMethod<T extends Partial<GridApi>>(apiRef: GridApiRef, apiMethods: T, apiName: string): void;
|
|
@@ -5199,6 +5384,8 @@ declare const bgBG: Localization;
|
|
|
5199
5384
|
|
|
5200
5385
|
declare const csCZ: Localization;
|
|
5201
5386
|
|
|
5387
|
+
declare const daDK: Localization;
|
|
5388
|
+
|
|
5202
5389
|
declare const deDE: Localization;
|
|
5203
5390
|
|
|
5204
5391
|
declare const elGR: Localization;
|
|
@@ -5247,4 +5434,4 @@ declare const useDataGridComponent: (props: DataGridProcessedProps) => GridApiRe
|
|
|
5247
5434
|
|
|
5248
5435
|
declare const MAX_PAGE_SIZE = 100;
|
|
5249
5436
|
|
|
5250
|
-
export { AutoSizerProps, AutoSizerSize, CursorCoordinates, DEFAULT_GRID_COL_TYPE_KEY, DataGrid, DataGridProps, ElementSize, GRID_ACTIONS_COL_DEF, GRID_BOOLEAN_COL_DEF, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DATETIME_COL_DEF, GRID_DATE_COL_DEF, GRID_DEFAULT_LOCALE_TEXT, GRID_EXPERIMENTAL_ENABLED, GRID_NUMERIC_COL_DEF, GRID_ROW_GROUPING_SINGLE_GROUPING_FIELD, GRID_SINGLE_SELECT_COL_DEF, GRID_STRING_COL_DEF, GRID_TREE_DATA_GROUPING_FIELD, GridActionsCell, GridActionsCellItem, GridActionsCellItemProps, GridActionsColDef, GridAddIcon, GridAlignment, GridApi, GridApiContext, GridApiRef, GridArrowDownwardIcon, GridArrowUpwardIcon, GridAutoSizer, GridBody, GridCallbackDetails, GridCell, GridCellCheckboxForwardRef, GridCellCheckboxRenderer, GridCellClassFn, GridCellClassNamePropType, GridCellEditCommitParams, GridCellEventLookup, GridCellIdentifier, GridCellIndexCoordinates, GridCellMode, GridCellModes, GridCellParams, GridCellProps, GridCellValue, GridCheckCircleIcon, GridCheckIcon, GridClassKey, GridClasses, GridClipboardApi, GridCloseIcon, GridColDef, GridColType, GridColTypeDef, GridColumnApi, GridColumnHeaderClassFn, GridColumnHeaderClassNamePropType, GridColumnHeaderEventLookup, GridColumnHeaderIndexCoordinates, GridColumnHeaderItem, GridColumnHeaderMenu, GridColumnHeaderMenuProps, GridColumnHeaderParams, GridColumnHeaderSeparator, GridColumnHeaderSeparatorProps, GridColumnHeaderSeparatorSides, GridColumnHeaderSortIcon, GridColumnHeaderSortIconProps, GridColumnHeaderTitle, GridColumnHeaderTitleProps, GridColumnIcon, GridColumnIdentifier, GridColumnLookup, GridColumnMenu, GridColumnMenuApi, GridColumnMenuContainer, GridColumnMenuProps, GridColumnMenuState, GridColumnOrderChangeParams, GridColumnPinningApi, GridColumnPinningMenuItems, GridColumnPinningState, GridColumnReorderState, GridColumnResizeParams, GridColumnResizeState, GridColumnTypesRecord, GridColumnVisibilityChangeParams, GridColumnVisibilityModel, GridColumns, GridColumnsInitialState, GridColumnsMenuItem, GridColumnsMeta, GridColumnsPanel, GridColumnsState, GridCommitCellChangeParams, GridComparatorFn, GridControlledStateEventLookup, GridCoreApi, GridCsvExportApi, GridCsvExportOptions, GridCsvGetRowsToExportParams, GridDensity, GridDensityApi, GridDensityOption, GridDensityState, GridDensityTypes, GridDimensions, GridDimensionsApi, GridDisableVirtualizationApi, GridDragIcon, GridEditCellProps, GridEditCellPropsParams, GridEditCellValueParams, GridEditInputCell, GridEditMode, GridEditModes, GridEditRowApi, GridEditRowProps, GridEditRowsModel, GridEditSingleSelectCell, GridEnrichedColDef, GridErrorHandler, GridEventListener, GridEventLookup, GridEventPublisher, GridEvents, GridEventsStr, GridExpandMoreIcon, GridExportFormat, GridExportOptions, GridFeatureMode, GridFeatureModeConstant, GridFilterActiveItemsLookup, GridFilterAltIcon, GridFilterApi, GridFilterForm, GridFilterFormProps, GridFilterInitialState, GridFilterInputDate, GridFilterInputDateProps, GridFilterInputMultipleSingleSelect, GridFilterInputMultipleSingleSelectProps, GridFilterInputMultipleValue, GridFilterInputMultipleValueProps, GridFilterInputSingleSelect, GridFilterInputSingleSelectProps, GridFilterInputValue, GridFilterInputValueProps, GridFilterItem, GridFilterItemProps, GridFilterListIcon, GridFilterMenuItem, GridFilterModel, GridFilterOperator, GridFilterPanel, GridFilterState, GridFocusApi, GridFocusState, GridFooter, GridFooterContainer, GridFooterContainerProps, GridFooterPlaceholder, GridGroupingColDefOverride, GridGroupingColDefOverrideParams, GridGroupingValueGetterParams, GridHeader, GridHeaderCheckbox, GridHeaderPlaceholder, GridHeaderSelectionCheckboxParams, GridIconSlotsComponent, GridInitialState, GridInputSelectionModel, GridKeyValue, GridKeyboardArrowRight, GridLinkOperator, GridLoadIcon, GridLoadingOverlay, GridLocaleText, GridLocaleTextApi, GridMenu, GridMenuIcon, GridMenuProps, GridMoreVertIcon, GridNativeColTypes, GridNoRowsOverlay, GridOverlay, GridOverlayProps, GridOverlays, GridPagination, GridPaginationApi, GridPaginationInitialState, GridPaginationState, GridPanel, GridPanelClasses, GridPanelContent, GridPanelFooter, GridPanelHeader, GridPanelProps, GridPanelWrapper, GridParamsApi, GridPinnedColumns, GridPinnedPosition, GridPreProcessEditCellProps, GridPreferencePanelInitialState, GridPreferencePanelState, GridPreferencePanelsValue, GridPreferencesPanel, GridPreferencesPanelApi, GridPrintExportApi, GridPrintExportOptions, GridRenderCellParams, GridRenderColumnsProps, GridRenderContext, GridRenderContextProps, GridRenderEditCellParams, GridRenderPaginationProps, GridRenderRowProps, GridRoot, GridRootContainerRef, GridRootProps, GridRow, GridRowApi, GridRowCount, GridRowData, GridRowEntry, GridRowEventLookup, GridRowGroupingApi, GridRowGroupingInitialState, GridRowGroupingModel, GridRowGroupingState, GridRowHeightParams, GridRowHeightReturnValue, GridRowId, GridRowIdGetter, GridRowMode, GridRowModel, GridRowModelUpdate, GridRowModes, GridRowParams, GridRowProps, GridRowScrollEndParams, GridRowSelectionCheckboxParams, GridRowTreeConfig, GridRowTreeNodeConfig, GridRowsLookup, GridRowsMetaApi, GridRowsProp, GridRowsState, GridSaveAltIcon, GridScrollApi, GridScrollArea, GridScrollFn, GridScrollParams, GridSearchIcon, GridSelectedRowCount, GridSelectionApi, GridSelectionModel, GridSeparatorIcon, GridSignature, GridSlotsComponent, GridSlotsComponentsProps, GridSortApi, GridSortCellParams, GridSortColumnLookup, GridSortDirection, GridSortItem, GridSortModel, GridSortModelParams, GridSortingInitialState, GridSortingState, GridState, GridStateApi, GridStateChangeParams, GridStateColDef, GridTabIndexState, GridTableRowsIcon, GridToolbar, GridToolbarColumnsButton, GridToolbarContainer, GridToolbarContainerProps, GridToolbarDensitySelector, GridToolbarExport, GridToolbarExportProps, GridToolbarFilterButton, GridToolbarFilterButtonProps, GridToolbarProps, GridTranslationKeys, GridTreeDataGroupingCell, GridTripleDotsVerticalIcon, GridTypeFilterInputValueProps, GridUpdateAction, GridValueFormatterParams, GridValueGetterFullParams, GridValueGetterParams, GridValueOptionsParams, GridValueSetterParams, GridViewHeadlineIcon, GridViewStreamIcon, GridVirtualScrollerApi, HideGridColMenuItem, Logger, MAX_PAGE_SIZE, MuiBaseEvent, MuiEvent, SUBMIT_FILTER_DATE_STROKE_TIME, SUBMIT_FILTER_STROKE_TIME, SortGridMenuItems, allGridColumnsFieldsSelector, allGridColumnsSelector, arSD, bgBG, checkGridRowIdIsValid, createUseGridApiEventHandler, csCZ, deDE, elGR, enUS, esES, faIR, fiFI, filterableGridColumnsIdsSelector, filterableGridColumnsSelector, frFR, getDataGridUtilityClass, getDefaultGridFilterModel, getGridBooleanOperators, getGridColDef, getGridDateOperators, getGridDefaultColumnTypes, getGridNumericColumnOperators, getGridNumericOperators, getGridSingleSelectOperators, getGridStringOperators, getRowGroupingFieldFromGroupingCriteria, gridClasses, gridColumnLookupSelector, gridColumnMenuSelector, gridColumnReorderDragColSelector, gridColumnReorderSelector, gridColumnResizeSelector, gridColumnVisibilityModelSelector, gridColumnsMetaSelector, gridColumnsSelector, gridColumnsTotalWidthSelector, gridDateComparator, gridDateFormatter, gridDateTimeFormatter, gridDensityFactorSelector, gridDensityHeaderHeightSelector, gridDensityRowHeightSelector, gridDensitySelector, gridDensityValueSelector, gridEditRowsStateSelector, gridFilterActiveItemsLookupSelector, gridFilterActiveItemsSelector, gridFilterModelSelector, gridFilterStateSelector, gridFilteredDescendantCountLookupSelector, gridFilteredRowsLookupSelector, gridFilteredSortedRowEntriesSelector, gridFilteredSortedRowIdsSelector, gridFocusCellSelector, gridFocusColumnHeaderSelector, gridFocusStateSelector, gridNumberComparator, gridPageCountSelector, gridPageSelector, gridPageSizeSelector, gridPaginatedVisibleSortedGridRowEntriesSelector, gridPaginatedVisibleSortedGridRowIdsSelector, gridPaginationRowRangeSelector, gridPaginationSelector, gridPanelClasses, gridPinnedColumnsSelector, gridPreferencePanelStateSelector, gridResizingColumnFieldSelector, gridRowCountSelector, gridRowGroupingModelSelector, gridRowGroupingNameSelector, gridRowGroupingSanitizedModelSelector, gridRowGroupingStateSelector, gridRowIdsSelector, gridRowTreeDepthSelector, gridRowTreeSelector, gridRowsLookupSelector, gridRowsMetaSelector, gridRowsStateSelector, gridSelectionStateSelector, gridSortColumnLookupSelector, gridSortModelSelector, gridSortedRowEntriesSelector, gridSortedRowIdsSelector, gridSortingStateSelector, gridStringOrNumberComparator, gridTabIndexCellSelector, gridTabIndexColumnHeaderSelector, gridTabIndexStateSelector, gridTopLevelRowCountSelector, gridVisibleColumnFieldsSelector, gridVisibleRowCountSelector, gridVisibleRowsLookupSelector, gridVisibleRowsSelector, gridVisibleSortedRowEntriesSelector, gridVisibleSortedRowIdsSelector, gridVisibleSortedTopLevelRowEntriesSelector, gridVisibleTopLevelRowCountSelector, heIL, itIT, jaJP, koKR, nlNL, plPL, ptBR, renderActionsCell, renderEditInputCell, renderEditSingleSelectCell, ruRU, selectedGridRowsCountSelector, selectedGridRowsSelector, selectedIdsLookupSelector, skSK, trTR, ukUA, useDataGridComponent, useGridApi, useGridApiContext, useGridApiEventHandler, useGridApiMethod, useGridApiOptionHandler, useGridApiRef, useGridLogger, useGridNativeEventListener, useGridRootProps, useGridScrollFn, useGridSelector, useGridState, viVN, visibleGridColumnsLengthSelector, visibleGridColumnsSelector, zhCN };
|
|
5437
|
+
export { AutoSizerProps, AutoSizerSize, CursorCoordinates, DEFAULT_GRID_COL_TYPE_KEY, DataGrid, DataGridProps, ElementSize, GRID_ACTIONS_COL_DEF, GRID_BOOLEAN_COL_DEF, GRID_CHECKBOX_SELECTION_COL_DEF, GRID_DATETIME_COL_DEF, GRID_DATE_COL_DEF, GRID_DEFAULT_LOCALE_TEXT, GRID_DETAIL_PANEL_TOGGLE_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, GRID_EXPERIMENTAL_ENABLED, GRID_NUMERIC_COL_DEF, GRID_ROW_GROUPING_SINGLE_GROUPING_FIELD, GRID_SINGLE_SELECT_COL_DEF, GRID_STRING_COL_DEF, GRID_TREE_DATA_GROUPING_FIELD, GridActionsCell, GridActionsCellItem, GridActionsCellItemProps, GridActionsColDef, GridAddIcon, GridAlignment, GridApi, GridApiContext, GridApiRef, GridArrowDownwardIcon, GridArrowUpwardIcon, GridAutoSizer, GridBody, GridCallbackDetails, GridCell, GridCellCheckboxForwardRef, GridCellCheckboxRenderer, GridCellClassFn, GridCellClassNamePropType, GridCellEditCommitParams, GridCellEventLookup, GridCellIdentifier, GridCellIndexCoordinates, GridCellMode, GridCellModes, GridCellParams, GridCellProps, GridCellValue, GridCheckCircleIcon, GridCheckIcon, GridClassKey, GridClasses, GridClipboardApi, GridCloseIcon, GridColDef, GridColType, GridColTypeDef, GridColumnApi, GridColumnHeaderClassFn, GridColumnHeaderClassNamePropType, GridColumnHeaderEventLookup, GridColumnHeaderIndexCoordinates, GridColumnHeaderItem, GridColumnHeaderMenu, GridColumnHeaderMenuProps, GridColumnHeaderParams, GridColumnHeaderSeparator, GridColumnHeaderSeparatorProps, GridColumnHeaderSeparatorSides, GridColumnHeaderSortIcon, GridColumnHeaderSortIconProps, GridColumnHeaderTitle, GridColumnHeaderTitleProps, GridColumnIcon, GridColumnIdentifier, GridColumnLookup, GridColumnMenu, GridColumnMenuApi, GridColumnMenuContainer, GridColumnMenuProps, GridColumnMenuState, GridColumnOrderChangeParams, GridColumnPinningApi, GridColumnPinningMenuItems, GridColumnPinningState, GridColumnReorderState, GridColumnResizeParams, GridColumnResizeState, GridColumnTypesRecord, GridColumnVisibilityChangeParams, GridColumnVisibilityModel, GridColumns, GridColumnsInitialState, GridColumnsMenuItem, GridColumnsMeta, GridColumnsPanel, GridColumnsState, GridCommitCellChangeParams, GridComparatorFn, GridControlledStateEventLookup, GridCoreApi, GridCsvExportApi, GridCsvExportOptions, GridCsvGetRowsToExportParams, GridDensity, GridDensityApi, GridDensityOption, GridDensityState, GridDensityTypes, GridDetailPanelApi, GridDetailPanelToggleCell, GridDimensions, GridDimensionsApi, GridDisableVirtualizationApi, GridDragIcon, GridEditCellProps, GridEditCellPropsParams, GridEditCellValueParams, GridEditInputCell, GridEditMode, GridEditModes, GridEditRowApi, GridEditRowProps, GridEditRowsModel, GridEditSingleSelectCell, GridEditingApi, GridEnrichedColDef, GridErrorHandler, GridEventListener, GridEventLookup, GridEventPublisher, GridEvents, GridEventsStr, GridExpandMoreIcon, GridExportFormat, GridExportOptions, GridFeatureMode, GridFeatureModeConstant, GridFilterActiveItemsLookup, GridFilterAltIcon, GridFilterApi, GridFilterForm, GridFilterFormProps, GridFilterInitialState, GridFilterInputDate, GridFilterInputDateProps, GridFilterInputMultipleSingleSelect, GridFilterInputMultipleSingleSelectProps, GridFilterInputMultipleValue, GridFilterInputMultipleValueProps, GridFilterInputSingleSelect, GridFilterInputSingleSelectProps, GridFilterInputValue, GridFilterInputValueProps, GridFilterItem, GridFilterItemProps, GridFilterListIcon, GridFilterMenuItem, GridFilterModel, GridFilterOperator, GridFilterPanel, GridFilterState, GridFocusApi, GridFocusState, GridFooter, GridFooterContainer, GridFooterContainerProps, GridFooterPlaceholder, GridGroupingColDefOverride, GridGroupingColDefOverrideParams, GridGroupingValueGetterParams, GridHeader, GridHeaderCheckbox, GridHeaderPlaceholder, GridHeaderSelectionCheckboxParams, GridIconSlotsComponent, GridInitialState, GridInputSelectionModel, GridKeyValue, GridKeyboardArrowRight, GridLinkOperator, GridLoadIcon, GridLoadingOverlay, GridLocaleText, GridLocaleTextApi, GridMenu, GridMenuIcon, GridMenuProps, GridMoreVertIcon, GridNativeColTypes, GridNoRowsOverlay, GridOverlay, GridOverlayProps, GridOverlays, GridPagination, GridPaginationApi, GridPaginationInitialState, GridPaginationState, GridPanel, GridPanelClasses, GridPanelContent, GridPanelFooter, GridPanelHeader, GridPanelProps, GridPanelWrapper, GridParamsApi, GridPinnedColumns, GridPinnedPosition, GridPreProcessEditCellProps, GridPreferencePanelInitialState, GridPreferencePanelState, GridPreferencePanelsValue, GridPreferencesPanel, GridPreferencesPanelApi, GridPrintExportApi, GridPrintExportOptions, GridRemoveIcon, GridRenderCellParams, GridRenderColumnsProps, GridRenderContext, GridRenderContextProps, GridRenderEditCellParams, GridRenderPaginationProps, GridRenderRowProps, GridRoot, GridRootContainerRef, GridRootProps, GridRow, GridRowApi, GridRowCount, GridRowData, GridRowEntry, GridRowEventLookup, GridRowGroupingApi, GridRowGroupingInitialState, GridRowGroupingModel, GridRowGroupingState, GridRowHeightParams, GridRowHeightReturnValue, GridRowId, GridRowIdGetter, GridRowMode, GridRowModel, GridRowModelUpdate, GridRowModes, GridRowParams, GridRowProps, GridRowScrollEndParams, GridRowSelectionCheckboxParams, GridRowTreeConfig, GridRowTreeNodeConfig, GridRowsLookup, GridRowsMeta, GridRowsMetaApi, GridRowsProp, GridRowsState, GridSaveAltIcon, GridScrollApi, GridScrollArea, GridScrollFn, GridScrollParams, GridSearchIcon, GridSelectedRowCount, GridSelectionApi, GridSelectionModel, GridSeparatorIcon, GridSignature, GridSlotsComponent, GridSlotsComponentsProps, GridSortApi, GridSortCellParams, GridSortColumnLookup, GridSortDirection, GridSortItem, GridSortModel, GridSortModelParams, GridSortingInitialState, GridSortingState, GridState, GridStateApi, GridStateChangeParams, GridStateColDef, GridTabIndexState, GridTableRowsIcon, GridToolbar, GridToolbarColumnsButton, GridToolbarContainer, GridToolbarContainerProps, GridToolbarDensitySelector, GridToolbarExport, GridToolbarExportProps, GridToolbarFilterButton, GridToolbarFilterButtonProps, GridToolbarProps, GridTranslationKeys, GridTreeDataGroupingCell, GridTripleDotsVerticalIcon, GridTypeFilterInputValueProps, GridUpdateAction, GridValueFormatterParams, GridValueGetterFullParams, GridValueGetterParams, GridValueOptionsParams, GridValueSetterParams, GridViewHeadlineIcon, GridViewStreamIcon, GridVirtualScrollerApi, HideGridColMenuItem, Logger, MAX_PAGE_SIZE, MuiBaseEvent, MuiEvent, SUBMIT_FILTER_DATE_STROKE_TIME, SUBMIT_FILTER_STROKE_TIME, SortGridMenuItems, allGridColumnsFieldsSelector, allGridColumnsSelector, arSD, bgBG, checkGridRowIdIsValid, createUseGridApiEventHandler, csCZ, daDK, deDE, elGR, enUS, esES, faIR, fiFI, filterableGridColumnsIdsSelector, filterableGridColumnsSelector, frFR, getDataGridUtilityClass, getDefaultGridFilterModel, getGridBooleanOperators, getGridColDef, getGridDateOperators, getGridDefaultColumnTypes, getGridNumericColumnOperators, getGridNumericOperators, getGridSingleSelectOperators, getGridStringOperators, getRowGroupingFieldFromGroupingCriteria, gridClasses, gridColumnLookupSelector, gridColumnMenuSelector, gridColumnReorderDragColSelector, gridColumnReorderSelector, gridColumnResizeSelector, gridColumnVisibilityModelSelector, gridColumnsMetaSelector, gridColumnsSelector, gridColumnsTotalWidthSelector, gridDateComparator, gridDateFormatter, gridDateTimeFormatter, gridDensityFactorSelector, gridDensityHeaderHeightSelector, gridDensityRowHeightSelector, gridDensitySelector, gridDensityValueSelector, gridDetailPanelExpandedRowIdsSelector, gridDetailPanelExpandedRowsContentCacheSelector, gridDetailPanelExpandedRowsHeightCacheSelector, gridEditRowsStateSelector, gridFilterActiveItemsLookupSelector, gridFilterActiveItemsSelector, gridFilterModelSelector, gridFilterStateSelector, gridFilteredDescendantCountLookupSelector, gridFilteredRowsLookupSelector, gridFilteredSortedRowEntriesSelector, gridFilteredSortedRowIdsSelector, gridFocusCellSelector, gridFocusColumnHeaderSelector, gridFocusStateSelector, gridNumberComparator, gridPageCountSelector, gridPageSelector, gridPageSizeSelector, gridPaginatedVisibleSortedGridRowEntriesSelector, gridPaginatedVisibleSortedGridRowIdsSelector, gridPaginationRowRangeSelector, gridPaginationSelector, gridPanelClasses, gridPinnedColumnsSelector, gridPreferencePanelStateSelector, gridResizingColumnFieldSelector, gridRowCountSelector, gridRowGroupingModelSelector, gridRowGroupingNameSelector, gridRowGroupingSanitizedModelSelector, gridRowGroupingStateSelector, gridRowIdsSelector, gridRowTreeDepthSelector, gridRowTreeSelector, gridRowsLookupSelector, gridRowsMetaSelector, gridRowsStateSelector, gridSelectionStateSelector, gridSortColumnLookupSelector, gridSortModelSelector, gridSortedRowEntriesSelector, gridSortedRowIdsSelector, gridSortingStateSelector, gridStringOrNumberComparator, gridTabIndexCellSelector, gridTabIndexColumnHeaderSelector, gridTabIndexStateSelector, gridTopLevelRowCountSelector, gridVisibleColumnFieldsSelector, gridVisibleRowCountSelector, gridVisibleRowsLookupSelector, gridVisibleRowsSelector, gridVisibleSortedRowEntriesSelector, gridVisibleSortedRowIdsSelector, gridVisibleSortedTopLevelRowEntriesSelector, gridVisibleTopLevelRowCountSelector, heIL, itIT, jaJP, koKR, nlNL, plPL, ptBR, renderActionsCell, renderEditInputCell, renderEditSingleSelectCell, ruRU, selectedGridRowsCountSelector, selectedGridRowsSelector, selectedIdsLookupSelector, skSK, trTR, ukUA, useDataGridComponent, useGridApi, useGridApiContext, useGridApiEventHandler, useGridApiMethod, useGridApiOptionHandler, useGridApiRef, useGridLogger, useGridNativeEventListener, useGridRootProps, useGridScrollFn, useGridSelector, useGridState, viVN, visibleGridColumnsLengthSelector, visibleGridColumnsSelector, zhCN };
|