@mui/x-data-grid-pro 5.2.1 → 5.2.2
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 +50 -0
- package/index-cjs.js +2 -2
- package/index-esm.js +2 -2
- package/package.json +5 -5
- package/themeAugmentation/props.d.ts +1 -1
- package/x-data-grid-pro.d.ts +495 -419
package/x-data-grid-pro.d.ts
CHANGED
|
@@ -244,6 +244,7 @@ interface GridRowParams<R extends GridRowModel = GridRowModel> {
|
|
|
244
244
|
* @param {GridRowId} id The row id.
|
|
245
245
|
* @param {string} field The field.
|
|
246
246
|
* @returns {GridCellValue} The cell value.
|
|
247
|
+
* @deprecated Use `params.row` to directly access the fields you want instead.
|
|
247
248
|
*/
|
|
248
249
|
getValue: (id: GridRowId, field: string) => GridCellValue;
|
|
249
250
|
}
|
|
@@ -1985,12 +1986,18 @@ interface GridDimensionsApi {
|
|
|
1985
1986
|
unstable_getViewportPageSize: () => number;
|
|
1986
1987
|
}
|
|
1987
1988
|
|
|
1989
|
+
declare const GRID_TREE_DATA_GROUPING_FIELD = "__tree_data_group__";
|
|
1990
|
+
|
|
1988
1991
|
interface GridPaginationState {
|
|
1989
1992
|
pageSize: number;
|
|
1990
1993
|
page: number;
|
|
1991
1994
|
pageCount: number;
|
|
1992
1995
|
rowCount: number;
|
|
1993
1996
|
}
|
|
1997
|
+
interface GridPaginationInitialState {
|
|
1998
|
+
pageSize?: number;
|
|
1999
|
+
page?: number;
|
|
2000
|
+
}
|
|
1994
2001
|
/**
|
|
1995
2002
|
* The apiRef methods handled by `useGridPageSize`
|
|
1996
2003
|
*/
|
|
@@ -2062,6 +2069,28 @@ declare const gridPageSizeSelector: ((state: {
|
|
|
2062
2069
|
}> & {
|
|
2063
2070
|
clearCache: () => void;
|
|
2064
2071
|
};
|
|
2072
|
+
declare const gridPageCountSelector: ((state: {
|
|
2073
|
+
rows: GridRowsState;
|
|
2074
|
+
editRows: GridEditRowsModel;
|
|
2075
|
+
pagination: GridPaginationState;
|
|
2076
|
+
columns: GridColumnsState;
|
|
2077
|
+
columnReorder: GridColumnReorderState;
|
|
2078
|
+
columnResize: GridColumnResizeState;
|
|
2079
|
+
columnMenu: GridColumnMenuState;
|
|
2080
|
+
sorting: GridSortingState;
|
|
2081
|
+
focus: GridFocusState;
|
|
2082
|
+
tabIndex: GridTabIndexState;
|
|
2083
|
+
selection: GridSelectionModel;
|
|
2084
|
+
filter: GridFilterState;
|
|
2085
|
+
preferencePanel: GridPreferencePanelState;
|
|
2086
|
+
density: GridDensityState;
|
|
2087
|
+
error?: any;
|
|
2088
|
+
pinnedColumns: GridPinnedColumns;
|
|
2089
|
+
}) => number) & reselect.OutputSelectorFields<(args_0: GridPaginationState) => number & {
|
|
2090
|
+
clearCache: () => void;
|
|
2091
|
+
}> & {
|
|
2092
|
+
clearCache: () => void;
|
|
2093
|
+
};
|
|
2065
2094
|
declare const gridPaginationRowRangeSelector: ((state: {
|
|
2066
2095
|
rows: GridRowsState;
|
|
2067
2096
|
editRows: GridEditRowsModel;
|
|
@@ -2228,6 +2257,7 @@ interface GridState {
|
|
|
2228
2257
|
pinnedColumns: GridColumnPinningState;
|
|
2229
2258
|
}
|
|
2230
2259
|
interface GridInitialState {
|
|
2260
|
+
pagination?: GridPaginationInitialState;
|
|
2231
2261
|
sorting?: GridSortingInitialState;
|
|
2232
2262
|
filter?: GridFilterInitialState;
|
|
2233
2263
|
preferencePanel?: GridPreferencePanelInitialState;
|
|
@@ -3376,11 +3406,20 @@ interface GridColDef {
|
|
|
3376
3406
|
* @default false
|
|
3377
3407
|
*/
|
|
3378
3408
|
hide?: boolean;
|
|
3409
|
+
/**
|
|
3410
|
+
* If `false`, removes the buttons for hiding this column.
|
|
3411
|
+
* @default true
|
|
3412
|
+
*/
|
|
3413
|
+
hideable?: boolean;
|
|
3379
3414
|
/**
|
|
3380
3415
|
* If `true`, the column is sortable.
|
|
3381
3416
|
* @default true
|
|
3382
3417
|
*/
|
|
3383
3418
|
sortable?: boolean;
|
|
3419
|
+
/**
|
|
3420
|
+
* The order of the sorting sequence.
|
|
3421
|
+
*/
|
|
3422
|
+
sortingOrder?: GridSortDirection[];
|
|
3384
3423
|
/**
|
|
3385
3424
|
* If `true`, the column is resizable.
|
|
3386
3425
|
* @default true
|
|
@@ -3701,6 +3740,7 @@ interface GridCellParams<V = any, R = any, F = V> {
|
|
|
3701
3740
|
* @param {GridRowId} id The row id.
|
|
3702
3741
|
* @param {string} field The field.
|
|
3703
3742
|
* @returns {GridCellValue} The cell value.
|
|
3743
|
+
* @deprecated Use `params.row` to directly access the fields you want instead.
|
|
3704
3744
|
*/
|
|
3705
3745
|
getValue: (id: GridRowId, field: string) => GridCellValue;
|
|
3706
3746
|
}
|
|
@@ -3725,15 +3765,7 @@ interface GridRenderEditCellParams extends GridEditCellProps {
|
|
|
3725
3765
|
/**
|
|
3726
3766
|
* Parameters passed when calling `colDef.valueGetter` in the rendering sequence.
|
|
3727
3767
|
*/
|
|
3728
|
-
interface GridValueGetterFullParams<V = any, R = any> extends Omit<GridCellParams<V, R>, 'formattedValue' | 'isEditable'
|
|
3729
|
-
/**
|
|
3730
|
-
* Get the cell value of a row and field.
|
|
3731
|
-
* @param {GridRowId} id The row id.
|
|
3732
|
-
* @param {string} field The field.
|
|
3733
|
-
* @returns {GridCellValue} The cell value.
|
|
3734
|
-
* @deprecated Use `params.row` to directly access the fields you want instead.
|
|
3735
|
-
*/
|
|
3736
|
-
getValue: (id: GridRowId, field: string) => GridCellValue;
|
|
3768
|
+
interface GridValueGetterFullParams<V = any, R = any> extends Omit<GridCellParams<V, R>, 'formattedValue' | 'isEditable'> {
|
|
3737
3769
|
/**
|
|
3738
3770
|
* GridApi that let you manipulate the grid.
|
|
3739
3771
|
*/
|
|
@@ -3937,6 +3969,7 @@ declare type GridRenderContextProps = GridRenderColumnsProps & GridRenderRowProp
|
|
|
3937
3969
|
|
|
3938
3970
|
/**
|
|
3939
3971
|
* Set of icons used in the grid component UI.
|
|
3972
|
+
* TODO: Differentiate community and pro interface
|
|
3940
3973
|
*/
|
|
3941
3974
|
interface GridIconSlotsComponent {
|
|
3942
3975
|
/**
|
|
@@ -4026,7 +4059,7 @@ interface GridIconSlotsComponent {
|
|
|
4026
4059
|
|
|
4027
4060
|
/**
|
|
4028
4061
|
* Grid components React prop interface containing all the overridable components.
|
|
4029
|
-
*
|
|
4062
|
+
* TODO: Differentiate community and pro interface
|
|
4030
4063
|
*/
|
|
4031
4064
|
interface GridSlotsComponent extends GridIconSlotsComponent {
|
|
4032
4065
|
/**
|
|
@@ -4222,6 +4255,22 @@ declare const GridOverlay: React$1.ForwardRefExoticComponent<GridOverlayProps &
|
|
|
4222
4255
|
declare type GridToolbarContainerProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
4223
4256
|
declare const GridToolbarContainer: React$1.ForwardRefExoticComponent<GridToolbarContainerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4224
4257
|
|
|
4258
|
+
declare enum GridColumnHeaderSeparatorSides {
|
|
4259
|
+
Left = "left",
|
|
4260
|
+
Right = "right"
|
|
4261
|
+
}
|
|
4262
|
+
interface GridColumnHeaderSeparatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4263
|
+
resizable: boolean;
|
|
4264
|
+
resizing: boolean;
|
|
4265
|
+
height: number;
|
|
4266
|
+
side?: GridColumnHeaderSeparatorSides;
|
|
4267
|
+
}
|
|
4268
|
+
declare function GridColumnHeaderSeparatorRaw(props: GridColumnHeaderSeparatorProps): JSX.Element;
|
|
4269
|
+
declare namespace GridColumnHeaderSeparatorRaw {
|
|
4270
|
+
var propTypes: any;
|
|
4271
|
+
}
|
|
4272
|
+
declare const GridColumnHeaderSeparator: React$1.MemoExoticComponent<typeof GridColumnHeaderSeparatorRaw>;
|
|
4273
|
+
|
|
4225
4274
|
interface GridColumnHeaderItemProps {
|
|
4226
4275
|
colIndex: number;
|
|
4227
4276
|
column: GridStateColDef;
|
|
@@ -4237,26 +4286,17 @@ interface GridColumnHeaderItemProps {
|
|
|
4237
4286
|
hasFocus?: boolean;
|
|
4238
4287
|
tabIndex: 0 | -1;
|
|
4239
4288
|
disableReorder?: boolean;
|
|
4289
|
+
separatorSide?: GridColumnHeaderSeparatorProps['side'];
|
|
4240
4290
|
}
|
|
4241
4291
|
declare function GridColumnHeaderItem(props: GridColumnHeaderItemProps): JSX.Element;
|
|
4242
4292
|
declare namespace GridColumnHeaderItem {
|
|
4243
4293
|
var propTypes: any;
|
|
4244
4294
|
}
|
|
4245
4295
|
|
|
4246
|
-
interface GridColumnHeaderSeparatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
4247
|
-
resizable: boolean;
|
|
4248
|
-
resizing: boolean;
|
|
4249
|
-
height: number;
|
|
4250
|
-
}
|
|
4251
|
-
declare function GridColumnHeaderSeparatorRaw(props: GridColumnHeaderSeparatorProps): JSX.Element;
|
|
4252
|
-
declare namespace GridColumnHeaderSeparatorRaw {
|
|
4253
|
-
var propTypes: any;
|
|
4254
|
-
}
|
|
4255
|
-
declare const GridColumnHeaderSeparator: React$1.MemoExoticComponent<typeof GridColumnHeaderSeparatorRaw>;
|
|
4256
|
-
|
|
4257
4296
|
interface GridColumnHeaderSortIconProps {
|
|
4258
4297
|
direction: GridSortDirection;
|
|
4259
4298
|
index: number | undefined;
|
|
4299
|
+
sortingOrder: GridSortDirection[];
|
|
4260
4300
|
}
|
|
4261
4301
|
declare function GridColumnHeaderSortIconRaw(props: GridColumnHeaderSortIconProps): JSX.Element | null;
|
|
4262
4302
|
declare namespace GridColumnHeaderSortIconRaw {
|
|
@@ -4649,593 +4689,558 @@ declare function useGridApiRef(apiRefProp: GridApiRef | undefined): GridApiRef;
|
|
|
4649
4689
|
|
|
4650
4690
|
declare function useGridLogger(apiRef: GridApiRef, name: string): Logger;
|
|
4651
4691
|
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
declare function useGridScrollFn(apiRef: GridApiRef, renderingZoneElementRef: React$1.RefObject<HTMLDivElement>, columnHeadersElementRef: React$1.RefObject<HTMLDivElement>): [GridScrollFn];
|
|
4655
|
-
|
|
4656
|
-
declare const useGridSelector: <T>(apiRef: GridApiRef, selector: (state: GridState) => T) => T;
|
|
4657
|
-
|
|
4658
|
-
/**
|
|
4659
|
-
* @deprecated Use `apiRef.current.state`, `apiRef.current.setState` and `apiRef.current.forceUpdate` instead.
|
|
4660
|
-
*/
|
|
4661
|
-
declare const useGridState: (apiRef: GridApiRef) => readonly [GridState, (state: GridState | ((previousState: GridState) => GridState)) => boolean, () => void];
|
|
4662
|
-
|
|
4663
|
-
declare const useGridNativeEventListener: <E extends Event>(apiRef: GridApiRef, ref: React$1.MutableRefObject<HTMLDivElement | null> | (() => Element | undefined | null), eventName: string, handler?: ((event: E) => any) | undefined, options?: AddEventListenerOptions | undefined) => void;
|
|
4664
|
-
|
|
4665
|
-
declare type GridMergedOptions = {
|
|
4666
|
-
[key in keyof GridProcessedMergedOptions]: Partial<GridProcessedMergedOptions[key]>;
|
|
4667
|
-
};
|
|
4668
|
-
/**
|
|
4669
|
-
* The grid options with a default in value which is merged with the value given through props.
|
|
4670
|
-
*/
|
|
4671
|
-
interface GridProcessedMergedOptions {
|
|
4692
|
+
interface GridClasses {
|
|
4672
4693
|
/**
|
|
4673
|
-
*
|
|
4694
|
+
* Styles applied to the root element if `autoHeight={true}`.
|
|
4674
4695
|
*/
|
|
4675
|
-
|
|
4696
|
+
autoHeight: string;
|
|
4676
4697
|
/**
|
|
4677
|
-
*
|
|
4678
|
-
* You can find all the translation keys supported in [the source](https://github.com/mui-org/material-ui-x/blob/HEAD/packages/grid/_modules_/grid/constants/localeTextConstants.ts) in the GitHub repository.
|
|
4698
|
+
* Styles applied to the icon of the boolean cell.
|
|
4679
4699
|
*/
|
|
4680
|
-
|
|
4681
|
-
}
|
|
4682
|
-
/**
|
|
4683
|
-
* The grid options with a default in value overridable through props
|
|
4684
|
-
* None of the entry of this interface should be optional, they all have default values and `GridInputComponentProps` already applies a `Partial<GridSimpleOptions>` for the public interface
|
|
4685
|
-
* The controlled model do not have a default value at the prop processing level so they must be defined in `GridComponentOtherProps`
|
|
4686
|
-
* TODO: add multiSortKey
|
|
4687
|
-
*/
|
|
4688
|
-
interface GridSimpleOptions {
|
|
4700
|
+
booleanCell: string;
|
|
4689
4701
|
/**
|
|
4690
|
-
*
|
|
4691
|
-
* @default false
|
|
4702
|
+
* Styles applied to the cell element if the cell is editable.
|
|
4692
4703
|
*/
|
|
4693
|
-
|
|
4704
|
+
'cell--editable': string;
|
|
4694
4705
|
/**
|
|
4695
|
-
*
|
|
4696
|
-
* @default false
|
|
4706
|
+
* Styles applied to the cell element if the cell is in edit mode.
|
|
4697
4707
|
*/
|
|
4698
|
-
|
|
4708
|
+
'cell--editing': string;
|
|
4699
4709
|
/**
|
|
4700
|
-
*
|
|
4701
|
-
* @default false
|
|
4710
|
+
* Styles applied to the cell element if `align="center"`.
|
|
4702
4711
|
*/
|
|
4703
|
-
|
|
4712
|
+
'cell--textCenter': string;
|
|
4704
4713
|
/**
|
|
4705
|
-
*
|
|
4706
|
-
* It only works if the pagination is enabled.
|
|
4707
|
-
* @default false
|
|
4714
|
+
* Styles applied to the cell element if `align="left"`.
|
|
4708
4715
|
*/
|
|
4709
|
-
|
|
4716
|
+
'cell--textLeft': string;
|
|
4710
4717
|
/**
|
|
4711
|
-
*
|
|
4712
|
-
* @default 3
|
|
4718
|
+
* Styles applied to the cell element if `align="right"`.
|
|
4713
4719
|
*/
|
|
4714
|
-
|
|
4720
|
+
'cell--textRight': string;
|
|
4715
4721
|
/**
|
|
4716
|
-
*
|
|
4717
|
-
* @default 3
|
|
4722
|
+
* Styles applied to the cell element if the cell has a custom renderer.
|
|
4718
4723
|
*/
|
|
4719
|
-
|
|
4724
|
+
'cell--withRenderer': string;
|
|
4720
4725
|
/**
|
|
4721
|
-
*
|
|
4722
|
-
* @default 3
|
|
4726
|
+
* Styles applied to the cell element.
|
|
4723
4727
|
*/
|
|
4724
|
-
|
|
4728
|
+
cell: string;
|
|
4725
4729
|
/**
|
|
4726
|
-
*
|
|
4727
|
-
* @default 3
|
|
4730
|
+
* Styles applied to the cell checkbox element.
|
|
4728
4731
|
*/
|
|
4729
|
-
|
|
4732
|
+
cellCheckbox: string;
|
|
4730
4733
|
/**
|
|
4731
|
-
*
|
|
4732
|
-
* @default "standard"
|
|
4734
|
+
* Styles applied to the selection checkbox element.
|
|
4733
4735
|
*/
|
|
4734
|
-
|
|
4736
|
+
checkboxInput: string;
|
|
4735
4737
|
/**
|
|
4736
|
-
*
|
|
4737
|
-
* @default false
|
|
4738
|
+
* Styles applied to the column header if `headerAlign="center"`.
|
|
4738
4739
|
*/
|
|
4739
|
-
|
|
4740
|
+
'columnHeader--alignCenter': string;
|
|
4740
4741
|
/**
|
|
4741
|
-
*
|
|
4742
|
-
* @default false
|
|
4742
|
+
* Styles applied to the column header if `headerAlign="left"`.
|
|
4743
4743
|
*/
|
|
4744
|
-
|
|
4744
|
+
'columnHeader--alignLeft': string;
|
|
4745
4745
|
/**
|
|
4746
|
-
*
|
|
4747
|
-
* @default false
|
|
4746
|
+
* Styles applied to the column header if `headerAlign="right"`.
|
|
4748
4747
|
*/
|
|
4749
|
-
|
|
4748
|
+
'columnHeader--alignRight': string;
|
|
4750
4749
|
/**
|
|
4751
|
-
*
|
|
4752
|
-
* @default false
|
|
4750
|
+
* Styles applied to the floating column header element when it is dragged.
|
|
4753
4751
|
*/
|
|
4754
|
-
|
|
4752
|
+
'columnHeader--dragging': string;
|
|
4755
4753
|
/**
|
|
4756
|
-
*
|
|
4757
|
-
* @default false
|
|
4754
|
+
* Styles applied to the column header if it is being dragged.
|
|
4758
4755
|
*/
|
|
4759
|
-
|
|
4756
|
+
'columnHeader--moving': string;
|
|
4760
4757
|
/**
|
|
4761
|
-
*
|
|
4762
|
-
* @default false
|
|
4758
|
+
* Styles applied to the column header if the type of the column is `number`.
|
|
4763
4759
|
*/
|
|
4764
|
-
|
|
4760
|
+
'columnHeader--numeric': string;
|
|
4765
4761
|
/**
|
|
4766
|
-
*
|
|
4767
|
-
* @default false
|
|
4762
|
+
* Styles applied to the column header if the column is sortable.
|
|
4768
4763
|
*/
|
|
4769
|
-
|
|
4764
|
+
'columnHeader--sortable': string;
|
|
4770
4765
|
/**
|
|
4771
|
-
*
|
|
4772
|
-
* @default false
|
|
4766
|
+
* Styles applied to the column header if the column is sorted.
|
|
4773
4767
|
*/
|
|
4774
|
-
|
|
4768
|
+
'columnHeader--sorted': string;
|
|
4775
4769
|
/**
|
|
4776
|
-
*
|
|
4777
|
-
* @default false
|
|
4770
|
+
* Styles applied to the column header element.
|
|
4778
4771
|
*/
|
|
4779
|
-
|
|
4772
|
+
columnHeader: string;
|
|
4780
4773
|
/**
|
|
4781
|
-
*
|
|
4782
|
-
* @default false
|
|
4774
|
+
* Styles applied to the header checkbox cell element.
|
|
4783
4775
|
*/
|
|
4784
|
-
|
|
4776
|
+
columnHeaderCheckbox: string;
|
|
4785
4777
|
/**
|
|
4786
|
-
*
|
|
4787
|
-
* @default false
|
|
4778
|
+
* Styles applied to the column header's draggable container element.
|
|
4788
4779
|
*/
|
|
4789
|
-
|
|
4780
|
+
columnHeaderDraggableContainer: string;
|
|
4790
4781
|
/**
|
|
4791
|
-
*
|
|
4792
|
-
* @default false
|
|
4782
|
+
* Styles applied to the column headers wrapper if a column is being dragged.
|
|
4793
4783
|
*/
|
|
4794
|
-
|
|
4784
|
+
columnHeaderDropZone: string;
|
|
4795
4785
|
/**
|
|
4796
|
-
*
|
|
4797
|
-
* @default false
|
|
4786
|
+
* Styles applied to the column header's title element;
|
|
4798
4787
|
*/
|
|
4799
|
-
|
|
4788
|
+
columnHeaderTitle: string;
|
|
4800
4789
|
/**
|
|
4801
|
-
*
|
|
4802
|
-
* @default false
|
|
4790
|
+
* Styles applied to the column header's title container element.
|
|
4803
4791
|
*/
|
|
4804
|
-
|
|
4792
|
+
columnHeaderTitleContainer: string;
|
|
4805
4793
|
/**
|
|
4806
|
-
*
|
|
4807
|
-
* @default false
|
|
4794
|
+
* Styles applied to the column headers.
|
|
4808
4795
|
*/
|
|
4809
|
-
|
|
4796
|
+
columnHeaders: string;
|
|
4810
4797
|
/**
|
|
4811
|
-
*
|
|
4812
|
-
* @default "cell"
|
|
4798
|
+
* Styles applied to the column headers's inner element.
|
|
4813
4799
|
*/
|
|
4814
|
-
|
|
4800
|
+
columnHeadersInner: string;
|
|
4815
4801
|
/**
|
|
4816
|
-
*
|
|
4817
|
-
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
4818
|
-
* @default "client"
|
|
4802
|
+
* Styles applied to the column headers's inner element if there is a horizontal scrollbar.
|
|
4819
4803
|
*/
|
|
4820
|
-
|
|
4804
|
+
'columnHeadersInner--scrollable': string;
|
|
4821
4805
|
/**
|
|
4822
|
-
*
|
|
4823
|
-
* @default 56
|
|
4806
|
+
* Styles applied to the column header separator if the column is resizable.
|
|
4824
4807
|
*/
|
|
4825
|
-
|
|
4808
|
+
'columnSeparator--resizable': string;
|
|
4826
4809
|
/**
|
|
4827
|
-
*
|
|
4828
|
-
* @default false
|
|
4810
|
+
* Styles applied to the column header separator if the column is being resized.
|
|
4829
4811
|
*/
|
|
4830
|
-
|
|
4812
|
+
'columnSeparator--resizing': string;
|
|
4831
4813
|
/**
|
|
4832
|
-
*
|
|
4833
|
-
* @default false
|
|
4814
|
+
* Styles applied to the column header separator if the side is "left".
|
|
4834
4815
|
*/
|
|
4835
|
-
|
|
4816
|
+
'columnSeparator--sideLeft': string;
|
|
4836
4817
|
/**
|
|
4837
|
-
*
|
|
4838
|
-
* It has no effect if the pagination is enabled.
|
|
4839
|
-
* @default false
|
|
4818
|
+
* Styles applied to the column header separator if the side is "right".
|
|
4840
4819
|
*/
|
|
4841
|
-
|
|
4820
|
+
'columnSeparator--sideRight': string;
|
|
4842
4821
|
/**
|
|
4843
|
-
*
|
|
4844
|
-
* @default false
|
|
4822
|
+
* Styles applied to the column header separator element.
|
|
4845
4823
|
*/
|
|
4846
|
-
|
|
4824
|
+
columnSeparator: string;
|
|
4847
4825
|
/**
|
|
4848
|
-
*
|
|
4849
|
-
* @default console
|
|
4826
|
+
* Styles applied to the columns panel element.
|
|
4850
4827
|
*/
|
|
4851
|
-
|
|
4828
|
+
columnsPanel: string;
|
|
4852
4829
|
/**
|
|
4853
|
-
*
|
|
4854
|
-
* @default "debug"
|
|
4830
|
+
* Styles applied to the columns panel row element.
|
|
4855
4831
|
*/
|
|
4856
|
-
|
|
4857
|
-
/**
|
|
4858
|
-
* If `true`, pagination is enabled.
|
|
4859
|
-
* @default false
|
|
4860
|
-
*/
|
|
4861
|
-
pagination: boolean;
|
|
4862
|
-
/**
|
|
4863
|
-
* Pagination can be processed on the server or client-side.
|
|
4864
|
-
* Set it to 'client' if you would like to handle the pagination on the client-side.
|
|
4865
|
-
* Set it to 'server' if you would like to handle the pagination on the server-side.
|
|
4866
|
-
* @default "client"
|
|
4867
|
-
*/
|
|
4868
|
-
paginationMode: GridFeatureMode;
|
|
4869
|
-
/**
|
|
4870
|
-
* Set the height in pixel of a row in the grid.
|
|
4871
|
-
* @default 52
|
|
4872
|
-
*/
|
|
4873
|
-
rowHeight: number;
|
|
4874
|
-
/**
|
|
4875
|
-
* Select the pageSize dynamically using the component UI.
|
|
4876
|
-
* @default [25, 50, 100]
|
|
4877
|
-
*/
|
|
4878
|
-
rowsPerPageOptions: number[];
|
|
4832
|
+
columnsPanelRow: string;
|
|
4879
4833
|
/**
|
|
4880
|
-
*
|
|
4881
|
-
* @default false
|
|
4834
|
+
* Styles applied to the panel element.
|
|
4882
4835
|
*/
|
|
4883
|
-
|
|
4836
|
+
panel: string;
|
|
4884
4837
|
/**
|
|
4885
|
-
*
|
|
4886
|
-
* If equal to -1, all the row children will be expanded.
|
|
4887
|
-
* @default 0
|
|
4838
|
+
* Styles applied to the panel header element.
|
|
4888
4839
|
*/
|
|
4889
|
-
|
|
4840
|
+
panelHeader: string;
|
|
4890
4841
|
/**
|
|
4891
|
-
*
|
|
4892
|
-
* @default 80
|
|
4842
|
+
* Styles applied to the panel wrapper element.
|
|
4893
4843
|
*/
|
|
4894
|
-
|
|
4844
|
+
panelWrapper: string;
|
|
4895
4845
|
/**
|
|
4896
|
-
*
|
|
4897
|
-
* @default false
|
|
4846
|
+
* Styles applied to the panel content element.
|
|
4898
4847
|
*/
|
|
4899
|
-
|
|
4848
|
+
panelContent: string;
|
|
4900
4849
|
/**
|
|
4901
|
-
*
|
|
4902
|
-
* @default false
|
|
4850
|
+
* Styles applied to the panel footer element.
|
|
4903
4851
|
*/
|
|
4904
|
-
|
|
4852
|
+
panelFooter: string;
|
|
4905
4853
|
/**
|
|
4906
|
-
*
|
|
4907
|
-
* @default ['asc', 'desc', null]
|
|
4854
|
+
* Styles applied to the paper element.
|
|
4908
4855
|
*/
|
|
4909
|
-
|
|
4856
|
+
paper: string;
|
|
4910
4857
|
/**
|
|
4911
|
-
*
|
|
4912
|
-
* Set it to 'client' if you would like to handle sorting on the client-side.
|
|
4913
|
-
* Set it to 'server' if you would like to handle sorting on the server-side.
|
|
4914
|
-
* @default "client"
|
|
4858
|
+
* Styles applied to root of the boolean edit component.
|
|
4915
4859
|
*/
|
|
4916
|
-
|
|
4860
|
+
editBooleanCell: string;
|
|
4917
4861
|
/**
|
|
4918
|
-
*
|
|
4919
|
-
* It can be useful if you have a high update rate but do not want to do heavy work like filtering / sorting or rendering on each individual update.
|
|
4920
|
-
* @default 0
|
|
4862
|
+
* Styles applied to the root of the filter form component.
|
|
4921
4863
|
*/
|
|
4922
|
-
|
|
4923
|
-
}
|
|
4924
|
-
|
|
4925
|
-
interface GridClasses {
|
|
4864
|
+
filterForm: string;
|
|
4926
4865
|
/**
|
|
4927
|
-
* Styles applied to the root
|
|
4866
|
+
* Styles applied to the root of the input component.
|
|
4928
4867
|
*/
|
|
4929
|
-
|
|
4868
|
+
editInputCell: string;
|
|
4930
4869
|
/**
|
|
4931
|
-
* Styles applied to the icon
|
|
4870
|
+
* Styles applied to the filter icon element.
|
|
4932
4871
|
*/
|
|
4933
|
-
|
|
4872
|
+
filterIcon: string;
|
|
4934
4873
|
/**
|
|
4935
|
-
* Styles applied to the
|
|
4874
|
+
* Styles applied to the footer container element.
|
|
4936
4875
|
*/
|
|
4937
|
-
|
|
4876
|
+
footerContainer: string;
|
|
4938
4877
|
/**
|
|
4939
|
-
* Styles applied to the
|
|
4878
|
+
* Styles applied to the column header icon's container.
|
|
4940
4879
|
*/
|
|
4941
|
-
|
|
4880
|
+
iconButtonContainer: string;
|
|
4942
4881
|
/**
|
|
4943
|
-
* Styles applied to the
|
|
4882
|
+
* Styles applied to the column header separator icon element.
|
|
4944
4883
|
*/
|
|
4945
|
-
|
|
4884
|
+
iconSeparator: string;
|
|
4946
4885
|
/**
|
|
4947
|
-
* Styles applied to the
|
|
4886
|
+
* Styles applied to the main container element.
|
|
4948
4887
|
*/
|
|
4949
|
-
|
|
4888
|
+
main: string;
|
|
4950
4889
|
/**
|
|
4951
|
-
* Styles applied to the
|
|
4890
|
+
* Styles applied to the menu element.
|
|
4952
4891
|
*/
|
|
4953
|
-
|
|
4892
|
+
menu: string;
|
|
4954
4893
|
/**
|
|
4955
|
-
* Styles applied to the
|
|
4894
|
+
* Styles applied to the menu icon element.
|
|
4956
4895
|
*/
|
|
4957
|
-
|
|
4896
|
+
menuIcon: string;
|
|
4958
4897
|
/**
|
|
4959
|
-
* Styles applied to the
|
|
4898
|
+
* Styles applied to the menu icon button element.
|
|
4960
4899
|
*/
|
|
4961
|
-
|
|
4900
|
+
menuIconButton: string;
|
|
4962
4901
|
/**
|
|
4963
|
-
* Styles applied to the
|
|
4902
|
+
* Styles applied to the menu icon element if the menu is open.
|
|
4964
4903
|
*/
|
|
4965
|
-
|
|
4904
|
+
menuOpen: string;
|
|
4966
4905
|
/**
|
|
4967
|
-
* Styles applied to the
|
|
4906
|
+
* Styles applied to the menu list element.
|
|
4968
4907
|
*/
|
|
4969
|
-
|
|
4908
|
+
menuList: string;
|
|
4970
4909
|
/**
|
|
4971
|
-
* Styles applied to the
|
|
4910
|
+
* Styles applied to the overlay element.
|
|
4972
4911
|
*/
|
|
4973
|
-
|
|
4912
|
+
overlay: string;
|
|
4974
4913
|
/**
|
|
4975
|
-
* Styles applied to the
|
|
4914
|
+
* Styles applied to the virtualization container.
|
|
4976
4915
|
*/
|
|
4977
|
-
|
|
4916
|
+
virtualScroller: string;
|
|
4978
4917
|
/**
|
|
4979
|
-
* Styles applied to the
|
|
4918
|
+
* Styles applied to the virtualization content.
|
|
4980
4919
|
*/
|
|
4981
|
-
|
|
4920
|
+
virtualScrollerContent: string;
|
|
4982
4921
|
/**
|
|
4983
|
-
* Styles applied to the
|
|
4922
|
+
* Styles applied to the virtualization render zone.
|
|
4984
4923
|
*/
|
|
4985
|
-
|
|
4924
|
+
virtualScrollerRenderZone: string;
|
|
4986
4925
|
/**
|
|
4987
|
-
* Styles applied to the
|
|
4926
|
+
* Styles applied to the pinned columns.
|
|
4988
4927
|
*/
|
|
4989
|
-
|
|
4928
|
+
pinnedColumns: string;
|
|
4990
4929
|
/**
|
|
4991
|
-
* Styles applied to the
|
|
4930
|
+
* Styles applied to the left pinned columns.
|
|
4992
4931
|
*/
|
|
4993
|
-
'
|
|
4932
|
+
'pinnedColumns--left': string;
|
|
4994
4933
|
/**
|
|
4995
|
-
* Styles applied to the
|
|
4934
|
+
* Styles applied to the right pinned columns.
|
|
4996
4935
|
*/
|
|
4997
|
-
'
|
|
4936
|
+
'pinnedColumns--right': string;
|
|
4998
4937
|
/**
|
|
4999
|
-
* Styles applied to the
|
|
4938
|
+
* Styles applied to the root element.
|
|
5000
4939
|
*/
|
|
5001
|
-
|
|
4940
|
+
root: string;
|
|
5002
4941
|
/**
|
|
5003
|
-
* Styles applied to the
|
|
4942
|
+
* Styles applied to the row element if the row is editable.
|
|
5004
4943
|
*/
|
|
5005
|
-
|
|
4944
|
+
'row--editable': string;
|
|
5006
4945
|
/**
|
|
5007
|
-
* Styles applied to the
|
|
4946
|
+
* Styles applied to the row element if the row is in edit mode.
|
|
5008
4947
|
*/
|
|
5009
|
-
|
|
4948
|
+
'row--editing': string;
|
|
5010
4949
|
/**
|
|
5011
|
-
* Styles applied to the
|
|
4950
|
+
* Styles applied to the row element.
|
|
5012
4951
|
*/
|
|
5013
|
-
|
|
4952
|
+
row: string;
|
|
5014
4953
|
/**
|
|
5015
|
-
* Styles applied to the
|
|
4954
|
+
* Styles applied to the footer row count element to show the total number of rows.
|
|
4955
|
+
* Only works when pagination is disabled.
|
|
5016
4956
|
*/
|
|
5017
|
-
|
|
4957
|
+
rowCount: string;
|
|
5018
4958
|
/**
|
|
5019
|
-
* Styles applied to
|
|
4959
|
+
* Styles applied to both scroll area elements.
|
|
5020
4960
|
*/
|
|
5021
|
-
|
|
4961
|
+
scrollArea: string;
|
|
5022
4962
|
/**
|
|
5023
|
-
* Styles applied to the
|
|
4963
|
+
* Styles applied to the left scroll area element.
|
|
5024
4964
|
*/
|
|
5025
|
-
|
|
4965
|
+
'scrollArea--left': string;
|
|
5026
4966
|
/**
|
|
5027
|
-
* Styles applied to the
|
|
4967
|
+
* Styles applied to the right scroll area element.
|
|
5028
4968
|
*/
|
|
5029
|
-
|
|
4969
|
+
'scrollArea--right': string;
|
|
5030
4970
|
/**
|
|
5031
|
-
* Styles applied to the
|
|
4971
|
+
* Styles applied to the footer selected row count element.
|
|
5032
4972
|
*/
|
|
5033
|
-
|
|
4973
|
+
selectedRowCount: string;
|
|
5034
4974
|
/**
|
|
5035
|
-
* Styles applied to the
|
|
4975
|
+
* Styles applied to the sort icon element.
|
|
5036
4976
|
*/
|
|
5037
|
-
|
|
4977
|
+
sortIcon: string;
|
|
5038
4978
|
/**
|
|
5039
|
-
* Styles applied to the
|
|
4979
|
+
* Styles applied to the toolbar container element.
|
|
5040
4980
|
*/
|
|
5041
|
-
|
|
4981
|
+
toolbarContainer: string;
|
|
5042
4982
|
/**
|
|
5043
|
-
* Styles applied to the
|
|
4983
|
+
* Styles applied to the toolbar filter list element.
|
|
5044
4984
|
*/
|
|
5045
|
-
|
|
4985
|
+
toolbarFilterList: string;
|
|
5046
4986
|
/**
|
|
5047
|
-
* Styles applied to the column header
|
|
4987
|
+
* Styles applied to both the cell and the column header if `showColumnRightBorder={true}`.
|
|
5048
4988
|
*/
|
|
5049
|
-
|
|
4989
|
+
withBorder: string;
|
|
5050
4990
|
/**
|
|
5051
|
-
* Styles applied to the
|
|
4991
|
+
* Styles applied to the root of the grouping column of the tree data.
|
|
5052
4992
|
*/
|
|
5053
|
-
|
|
4993
|
+
treeDataGroupingCell: string;
|
|
5054
4994
|
/**
|
|
5055
|
-
* Styles applied to the
|
|
4995
|
+
* Styles applied to the toggle of the grouping column of the tree data.
|
|
5056
4996
|
*/
|
|
5057
|
-
|
|
4997
|
+
treeDataGroupingCellToggle: string;
|
|
4998
|
+
}
|
|
4999
|
+
declare type GridClassKey = keyof GridClasses;
|
|
5000
|
+
declare function getDataGridUtilityClass(slot: string): string;
|
|
5001
|
+
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" | "withBorder" | "treeDataGroupingCell" | "treeDataGroupingCellToggle", string>;
|
|
5002
|
+
|
|
5003
|
+
/**
|
|
5004
|
+
* The props of the `DataGrid` component after the pre-processing phase.
|
|
5005
|
+
*/
|
|
5006
|
+
interface DataGridProcessedProps extends DataGridPropsWithDefaultValues, DataGridPropsWithComplexDefaultValueAfterProcessing, DataGridPropsWithoutDefaultValue {
|
|
5007
|
+
}
|
|
5008
|
+
/**
|
|
5009
|
+
* The `DataGrid` options with a default value that must be merged with the value given through props.
|
|
5010
|
+
*/
|
|
5011
|
+
interface DataGridPropsWithComplexDefaultValueAfterProcessing {
|
|
5012
|
+
components: GridSlotsComponent;
|
|
5013
|
+
localeText: GridLocaleText;
|
|
5014
|
+
}
|
|
5015
|
+
/**
|
|
5016
|
+
* The `DataGrid` options with a default value that must be merged with the value given through props.
|
|
5017
|
+
*/
|
|
5018
|
+
interface DataGridPropsWithComplexDefaultValueBeforeProcessing {
|
|
5058
5019
|
/**
|
|
5059
|
-
*
|
|
5020
|
+
* Overrideable components.
|
|
5060
5021
|
*/
|
|
5061
|
-
|
|
5022
|
+
components?: Partial<GridSlotsComponent>;
|
|
5062
5023
|
/**
|
|
5063
|
-
*
|
|
5024
|
+
* Set the locale text of the grid.
|
|
5025
|
+
* You can find all the translation keys supported in [the source](https://github.com/mui-org/material-ui-x/blob/HEAD/packages/grid/_modules_/grid/constants/localeTextConstants.ts) in the GitHub repository.
|
|
5064
5026
|
*/
|
|
5065
|
-
|
|
5027
|
+
localeText?: Partial<GridLocaleText>;
|
|
5028
|
+
}
|
|
5029
|
+
/**
|
|
5030
|
+
* The `DataGrid` options with a default value overridable through props
|
|
5031
|
+
* None of the entry of this interface should be optional, they all have default values and `DataGridProps` already applies a `Partial<DataGridSimpleOptions>` for the public interface
|
|
5032
|
+
* The controlled model do not have a default value at the prop processing level, so they must be defined in `DataGridOtherProps`
|
|
5033
|
+
* TODO: add multiSortKey
|
|
5034
|
+
*/
|
|
5035
|
+
interface DataGridPropsWithDefaultValues {
|
|
5066
5036
|
/**
|
|
5067
|
-
*
|
|
5037
|
+
* If `true`, the grid height is dynamic and follow the number of rows in the grid.
|
|
5038
|
+
* @default false
|
|
5068
5039
|
*/
|
|
5069
|
-
|
|
5040
|
+
autoHeight: boolean;
|
|
5070
5041
|
/**
|
|
5071
|
-
*
|
|
5042
|
+
* If `true`, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar.
|
|
5043
|
+
* @default false
|
|
5072
5044
|
*/
|
|
5073
|
-
|
|
5045
|
+
autoPageSize: boolean;
|
|
5074
5046
|
/**
|
|
5075
|
-
*
|
|
5047
|
+
* If `true`, the grid get a first column with a checkbox that allows to select rows.
|
|
5048
|
+
* @default false
|
|
5076
5049
|
*/
|
|
5077
|
-
|
|
5050
|
+
checkboxSelection: boolean;
|
|
5078
5051
|
/**
|
|
5079
|
-
*
|
|
5052
|
+
* If `true`, the "Select All" header checkbox selects only the rows on the current page. To be used in combination with `checkboxSelection`.
|
|
5053
|
+
* It only works if the pagination is enabled.
|
|
5054
|
+
* @default false
|
|
5080
5055
|
*/
|
|
5081
|
-
|
|
5056
|
+
checkboxSelectionVisibleOnly: boolean;
|
|
5082
5057
|
/**
|
|
5083
|
-
*
|
|
5058
|
+
* Number of extra columns to be rendered before/after the visible slice.
|
|
5059
|
+
* @default 3
|
|
5084
5060
|
*/
|
|
5085
|
-
|
|
5061
|
+
columnBuffer: number;
|
|
5086
5062
|
/**
|
|
5087
|
-
*
|
|
5063
|
+
* Number of extra rows to be rendered before/after the visible slice.
|
|
5064
|
+
* @default 3
|
|
5088
5065
|
*/
|
|
5089
|
-
|
|
5066
|
+
rowBuffer: number;
|
|
5090
5067
|
/**
|
|
5091
|
-
*
|
|
5068
|
+
* Number of rows from the `rowBuffer` that can be visible before a new slice is rendered.
|
|
5069
|
+
* @default 3
|
|
5092
5070
|
*/
|
|
5093
|
-
|
|
5071
|
+
rowThreshold: number;
|
|
5094
5072
|
/**
|
|
5095
|
-
*
|
|
5073
|
+
* Number of rows from the `columnBuffer` that can be visible before a new slice is rendered.
|
|
5074
|
+
* @default 3
|
|
5096
5075
|
*/
|
|
5097
|
-
|
|
5076
|
+
columnThreshold: number;
|
|
5098
5077
|
/**
|
|
5099
|
-
*
|
|
5078
|
+
* Set the density of the grid.
|
|
5079
|
+
* @default "standard"
|
|
5100
5080
|
*/
|
|
5101
|
-
|
|
5081
|
+
density: GridDensity;
|
|
5102
5082
|
/**
|
|
5103
|
-
*
|
|
5083
|
+
* If `true`, rows will not be extended to fill the full width of the grid container.
|
|
5084
|
+
* @default false
|
|
5104
5085
|
*/
|
|
5105
|
-
|
|
5086
|
+
disableExtendRowFullWidth: boolean;
|
|
5106
5087
|
/**
|
|
5107
|
-
*
|
|
5088
|
+
* If `true`, column filters are disabled.
|
|
5089
|
+
* @default false
|
|
5108
5090
|
*/
|
|
5109
|
-
|
|
5091
|
+
disableColumnFilter: boolean;
|
|
5110
5092
|
/**
|
|
5111
|
-
*
|
|
5093
|
+
* If `true`, the column menu is disabled.
|
|
5094
|
+
* @default false
|
|
5112
5095
|
*/
|
|
5113
|
-
|
|
5096
|
+
disableColumnMenu: boolean;
|
|
5114
5097
|
/**
|
|
5115
|
-
*
|
|
5098
|
+
* If `true`, hiding/showing columns is disabled.
|
|
5099
|
+
* @default false
|
|
5116
5100
|
*/
|
|
5117
|
-
|
|
5101
|
+
disableColumnSelector: boolean;
|
|
5118
5102
|
/**
|
|
5119
|
-
*
|
|
5103
|
+
* If `true`, the density selector is disabled.
|
|
5104
|
+
* @default false
|
|
5120
5105
|
*/
|
|
5121
|
-
|
|
5106
|
+
disableDensitySelector: boolean;
|
|
5122
5107
|
/**
|
|
5123
|
-
*
|
|
5108
|
+
* If `true`, filtering with multiple columns is disabled.
|
|
5109
|
+
* @default false
|
|
5124
5110
|
*/
|
|
5125
|
-
|
|
5111
|
+
disableMultipleColumnsFiltering: boolean;
|
|
5126
5112
|
/**
|
|
5127
|
-
*
|
|
5113
|
+
* If `true`, multiple selection using the CTRL or CMD key is disabled.
|
|
5114
|
+
* @default false
|
|
5128
5115
|
*/
|
|
5129
|
-
|
|
5116
|
+
disableMultipleSelection: boolean;
|
|
5130
5117
|
/**
|
|
5131
|
-
*
|
|
5118
|
+
* If `true`, sorting with multiple columns is disabled.
|
|
5119
|
+
* @default false
|
|
5132
5120
|
*/
|
|
5133
|
-
|
|
5121
|
+
disableMultipleColumnsSorting: boolean;
|
|
5134
5122
|
/**
|
|
5135
|
-
*
|
|
5123
|
+
* If `true`, the selection on click on a row or cell is disabled.
|
|
5124
|
+
* @default false
|
|
5136
5125
|
*/
|
|
5137
|
-
|
|
5126
|
+
disableSelectionOnClick: boolean;
|
|
5138
5127
|
/**
|
|
5139
|
-
*
|
|
5128
|
+
* If `true`, the virtualization is disabled.
|
|
5129
|
+
* @default false
|
|
5140
5130
|
*/
|
|
5141
|
-
|
|
5131
|
+
disableVirtualization: boolean;
|
|
5142
5132
|
/**
|
|
5143
|
-
*
|
|
5133
|
+
* Controls whether to use the cell or row editing.
|
|
5134
|
+
* @default "cell"
|
|
5144
5135
|
*/
|
|
5145
|
-
|
|
5136
|
+
editMode: GridEditMode;
|
|
5146
5137
|
/**
|
|
5147
|
-
*
|
|
5138
|
+
* Filtering can be processed on the server or client-side.
|
|
5139
|
+
* Set it to 'server' if you would like to handle filtering on the server-side.
|
|
5140
|
+
* @default "client"
|
|
5148
5141
|
*/
|
|
5149
|
-
|
|
5142
|
+
filterMode: GridFeatureMode;
|
|
5150
5143
|
/**
|
|
5151
|
-
*
|
|
5144
|
+
* Set the height in pixel of the column headers in the grid.
|
|
5145
|
+
* @default 56
|
|
5152
5146
|
*/
|
|
5153
|
-
|
|
5147
|
+
headerHeight: number;
|
|
5154
5148
|
/**
|
|
5155
|
-
*
|
|
5149
|
+
* If `true`, the footer component is hidden.
|
|
5150
|
+
* @default false
|
|
5156
5151
|
*/
|
|
5157
|
-
|
|
5152
|
+
hideFooter: boolean;
|
|
5158
5153
|
/**
|
|
5159
|
-
*
|
|
5154
|
+
* If `true`, the pagination component in the footer is hidden.
|
|
5155
|
+
* @default false
|
|
5160
5156
|
*/
|
|
5161
|
-
|
|
5157
|
+
hideFooterPagination: boolean;
|
|
5162
5158
|
/**
|
|
5163
|
-
*
|
|
5159
|
+
* If `true`, the row count in the footer is hidden.
|
|
5160
|
+
* It has no effect if the pagination is enabled.
|
|
5161
|
+
* @default false
|
|
5164
5162
|
*/
|
|
5165
|
-
|
|
5163
|
+
hideFooterRowCount: boolean;
|
|
5166
5164
|
/**
|
|
5167
|
-
*
|
|
5165
|
+
* If `true`, the selected row count in the footer is hidden.
|
|
5166
|
+
* @default false
|
|
5168
5167
|
*/
|
|
5169
|
-
|
|
5168
|
+
hideFooterSelectedRowCount: boolean;
|
|
5170
5169
|
/**
|
|
5171
|
-
*
|
|
5170
|
+
* Pass a custom logger in the components that implements the [[Logger]] interface.
|
|
5171
|
+
* @default console
|
|
5172
5172
|
*/
|
|
5173
|
-
|
|
5173
|
+
logger: Logger;
|
|
5174
5174
|
/**
|
|
5175
|
-
*
|
|
5175
|
+
* Allows to pass the logging level or false to turn off logging.
|
|
5176
|
+
* @default "debug"
|
|
5176
5177
|
*/
|
|
5177
|
-
|
|
5178
|
+
logLevel: keyof Logger | false;
|
|
5178
5179
|
/**
|
|
5179
|
-
*
|
|
5180
|
-
*
|
|
5180
|
+
* If `true`, pagination is enabled.
|
|
5181
|
+
* @default false
|
|
5181
5182
|
*/
|
|
5182
|
-
|
|
5183
|
+
pagination: boolean;
|
|
5183
5184
|
/**
|
|
5184
|
-
*
|
|
5185
|
+
* Pagination can be processed on the server or client-side.
|
|
5186
|
+
* Set it to 'client' if you would like to handle the pagination on the client-side.
|
|
5187
|
+
* Set it to 'server' if you would like to handle the pagination on the server-side.
|
|
5188
|
+
* @default "client"
|
|
5185
5189
|
*/
|
|
5186
|
-
|
|
5190
|
+
paginationMode: GridFeatureMode;
|
|
5187
5191
|
/**
|
|
5188
|
-
*
|
|
5192
|
+
* Set the height in pixel of a row in the grid.
|
|
5193
|
+
* @default 52
|
|
5189
5194
|
*/
|
|
5190
|
-
|
|
5195
|
+
rowHeight: number;
|
|
5191
5196
|
/**
|
|
5192
|
-
*
|
|
5197
|
+
* Select the pageSize dynamically using the component UI.
|
|
5198
|
+
* @default [25, 50, 100]
|
|
5193
5199
|
*/
|
|
5194
|
-
|
|
5200
|
+
rowsPerPageOptions: number[];
|
|
5195
5201
|
/**
|
|
5196
|
-
*
|
|
5202
|
+
* If `true`, the right border of the cells are displayed.
|
|
5203
|
+
* @default false
|
|
5197
5204
|
*/
|
|
5198
|
-
|
|
5205
|
+
showCellRightBorder: boolean;
|
|
5199
5206
|
/**
|
|
5200
|
-
*
|
|
5207
|
+
* If `true`, the right border of the column headers are displayed.
|
|
5208
|
+
* @default false
|
|
5201
5209
|
*/
|
|
5202
|
-
|
|
5210
|
+
showColumnRightBorder: boolean;
|
|
5203
5211
|
/**
|
|
5204
|
-
*
|
|
5212
|
+
* The order of the sorting sequence.
|
|
5213
|
+
* @default ['asc', 'desc', null]
|
|
5205
5214
|
*/
|
|
5206
|
-
|
|
5215
|
+
sortingOrder: GridSortDirection[];
|
|
5207
5216
|
/**
|
|
5208
|
-
*
|
|
5217
|
+
* Sorting can be processed on the server or client-side.
|
|
5218
|
+
* Set it to 'client' if you would like to handle sorting on the client-side.
|
|
5219
|
+
* Set it to 'server' if you would like to handle sorting on the server-side.
|
|
5220
|
+
* @default "client"
|
|
5209
5221
|
*/
|
|
5210
|
-
|
|
5222
|
+
sortingMode: GridFeatureMode;
|
|
5211
5223
|
/**
|
|
5212
|
-
*
|
|
5224
|
+
* If positive, the Grid will throttle updates coming from `apiRef.current.updateRows` and `apiRef.current.setRows`.
|
|
5225
|
+
* It can be useful if you have a high update rate but do not want to do heavy work like filtering / sorting or rendering on each individual update.
|
|
5226
|
+
* @default 0
|
|
5213
5227
|
*/
|
|
5214
|
-
|
|
5228
|
+
throttleRowsMs: number;
|
|
5215
5229
|
/**
|
|
5216
|
-
*
|
|
5230
|
+
* If `true`, reordering columns is disabled.
|
|
5231
|
+
* @default false
|
|
5217
5232
|
*/
|
|
5218
|
-
|
|
5233
|
+
disableColumnReorder: boolean;
|
|
5219
5234
|
/**
|
|
5220
|
-
*
|
|
5235
|
+
* If `true`, resizing columns is disabled.
|
|
5236
|
+
* @default false
|
|
5221
5237
|
*/
|
|
5222
|
-
|
|
5223
|
-
}
|
|
5224
|
-
declare type GridClassKey = keyof GridClasses;
|
|
5225
|
-
declare function getDataGridUtilityClass(slot: string): string;
|
|
5226
|
-
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" | "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" | "withBorder" | "treeDataGroupingCell" | "treeDataGroupingCellToggle", string>;
|
|
5227
|
-
|
|
5228
|
-
/**
|
|
5229
|
-
* The grid component react props before applying the default values.
|
|
5230
|
-
*/
|
|
5231
|
-
interface GridInputComponentProps extends Partial<GridSimpleOptions>, Partial<GridMergedOptions>, GridComponentOtherProps {
|
|
5238
|
+
disableColumnResize: boolean;
|
|
5232
5239
|
}
|
|
5233
5240
|
/**
|
|
5234
|
-
* The
|
|
5241
|
+
* The `DataGrid` props with no default value.
|
|
5235
5242
|
*/
|
|
5236
|
-
interface
|
|
5237
|
-
}
|
|
5238
|
-
interface GridComponentOtherProps extends CommonProps {
|
|
5243
|
+
interface DataGridPropsWithoutDefaultValue extends CommonProps {
|
|
5239
5244
|
/**
|
|
5240
5245
|
* The ref object that allows grid manipulation. Can be instantiated with [[useGridApiRef()]].
|
|
5241
5246
|
*/
|
|
@@ -5287,14 +5292,6 @@ interface GridComponentOtherProps extends CommonProps {
|
|
|
5287
5292
|
* @returns {boolean} A boolean indicating if the cell is selectable.
|
|
5288
5293
|
*/
|
|
5289
5294
|
isRowSelectable?: (params: GridRowParams) => boolean;
|
|
5290
|
-
/**
|
|
5291
|
-
* Determines the path of a row in the tree data.
|
|
5292
|
-
* For instance, a row with the path ["A", "B"] is the child of the row with the path ["A"].
|
|
5293
|
-
* Note that all paths must contain at least one element.
|
|
5294
|
-
* @param {GridRowModel} row The row from which we want the path.
|
|
5295
|
-
* @returns {string[]} The path to the row.
|
|
5296
|
-
*/
|
|
5297
|
-
getTreeDataPath?: (row: GridRowModel) => string[];
|
|
5298
5295
|
/**
|
|
5299
5296
|
* Callback fired when the edit cell value changes.
|
|
5300
5297
|
* @param {GridEditCellPropsParams} params With all properties from [[GridEditCellPropsParams]].
|
|
@@ -5424,20 +5421,6 @@ interface GridComponentOtherProps extends CommonProps {
|
|
|
5424
5421
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5425
5422
|
*/
|
|
5426
5423
|
onColumnOrderChange?: GridEventListener<GridEvents.columnOrderChange>;
|
|
5427
|
-
/**
|
|
5428
|
-
* Callback fired while a column is being resized.
|
|
5429
|
-
* @param {GridColumnResizeParams} params With all properties from [[GridColumnResizeParams]].
|
|
5430
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
5431
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5432
|
-
*/
|
|
5433
|
-
onColumnResize?: GridEventListener<GridEvents.columnResize>;
|
|
5434
|
-
/**
|
|
5435
|
-
* Callback fired when the width of a column is changed.
|
|
5436
|
-
* @param {GridColumnResizeParams} params With all properties from [[GridColumnResizeParams]].
|
|
5437
|
-
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
5438
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5439
|
-
*/
|
|
5440
|
-
onColumnWidthChange?: GridEventListener<GridEvents.columnWidthChange>;
|
|
5441
5424
|
/**
|
|
5442
5425
|
* Callback fired when a column visibility changes.
|
|
5443
5426
|
* @param {GridColumnVisibilityChangeParams} params With all properties from [[GridColumnVisibilityChangeParams]].
|
|
@@ -5452,13 +5435,6 @@ interface GridComponentOtherProps extends CommonProps {
|
|
|
5452
5435
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5453
5436
|
*/
|
|
5454
5437
|
onRowClick?: GridEventListener<GridEvents.rowClick>;
|
|
5455
|
-
/**
|
|
5456
|
-
* Callback fired when scrolling to the bottom of the grid viewport.
|
|
5457
|
-
* @param {GridRowScrollEndParams} params With all properties from [[GridRowScrollEndParams]].
|
|
5458
|
-
* @param {MuiEvent<{}>} event The event object.
|
|
5459
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5460
|
-
*/
|
|
5461
|
-
onRowsScrollEnd?: GridEventListener<GridEvents.rowsScrollEnd>;
|
|
5462
5438
|
/**
|
|
5463
5439
|
* Callback fired when a double click event comes from a row container element.
|
|
5464
5440
|
* @param {GridRowParams} params With all properties from [[RowParams]].
|
|
@@ -5544,16 +5520,6 @@ interface GridComponentOtherProps extends CommonProps {
|
|
|
5544
5520
|
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5545
5521
|
*/
|
|
5546
5522
|
onSortModelChange?: (model: GridSortModel, details: GridCallbackDetails) => void;
|
|
5547
|
-
/**
|
|
5548
|
-
* The column fields to display pinned to left or right.
|
|
5549
|
-
*/
|
|
5550
|
-
pinnedColumns?: GridPinnedColumns;
|
|
5551
|
-
/**
|
|
5552
|
-
* Callback fired when the pinned columns have changed.
|
|
5553
|
-
* @param {GridPinnedColumns} pinnedColumns The changed pinned columns.
|
|
5554
|
-
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5555
|
-
*/
|
|
5556
|
-
onPinnedColumnsChange?: (pinnedColumns: GridPinnedColumns, details: GridCallbackDetails) => void;
|
|
5557
5523
|
/**
|
|
5558
5524
|
* The label of the grid.
|
|
5559
5525
|
*/
|
|
@@ -5596,22 +5562,132 @@ interface GridComponentOtherProps extends CommonProps {
|
|
|
5596
5562
|
* Overrideable components props dynamically passed to the component at rendering.
|
|
5597
5563
|
*/
|
|
5598
5564
|
componentsProps?: GridSlotsComponentsProps;
|
|
5599
|
-
/**
|
|
5600
|
-
* The grouping column used by the tree data.
|
|
5601
|
-
*/
|
|
5602
|
-
groupingColDef?: GridGroupingColDefOverride | ((params: GridGroupingColDefOverrideParams) => GridGroupingColDefOverride | undefined | null);
|
|
5603
5565
|
/**
|
|
5604
5566
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
5605
5567
|
*/
|
|
5606
5568
|
sx?: SxProps<Theme>;
|
|
5607
5569
|
}
|
|
5608
5570
|
|
|
5609
|
-
|
|
5571
|
+
/**
|
|
5572
|
+
* The props users can give to the `DataGridProProps` component.
|
|
5573
|
+
*/
|
|
5574
|
+
declare type DataGridProProps = Omit<Partial<DataGridProPropsWithDefaultValue> & DataGridPropsWithComplexDefaultValueBeforeProcessing & DataGridProPropsWithoutDefaultValue, DataGridProForcedPropsKey>;
|
|
5575
|
+
/**
|
|
5576
|
+
* The props of the `DataGridPro` component after the pre-processing phase.
|
|
5577
|
+
*/
|
|
5578
|
+
interface DataGridProProcessedProps extends DataGridProPropsWithDefaultValue, DataGridPropsWithComplexDefaultValueAfterProcessing, DataGridProPropsWithoutDefaultValue {
|
|
5579
|
+
}
|
|
5580
|
+
declare type DataGridProForcedPropsKey = 'signature';
|
|
5581
|
+
/**
|
|
5582
|
+
* The `DataGridPro` options with a default value overridable through props
|
|
5583
|
+
* None of the entry of this interface should be optional, they all have default values and `DataGridProps` already applies a `Partial<DataGridSimpleOptions>` for the public interface
|
|
5584
|
+
* The controlled model do not have a default value at the prop processing level, so they must be defined in `DataGridOtherProps`
|
|
5585
|
+
*/
|
|
5586
|
+
interface DataGridProPropsWithDefaultValue extends DataGridPropsWithDefaultValues {
|
|
5587
|
+
/**
|
|
5588
|
+
* Set the area in `px` at the bottom of the grid viewport where onRowsScrollEnd is called.
|
|
5589
|
+
* @default 80
|
|
5590
|
+
*/
|
|
5591
|
+
scrollEndThreshold: number;
|
|
5592
|
+
/**
|
|
5593
|
+
* If `true`, the rows will be gathered in a tree structure according to the `getTreeDataPath` prop.
|
|
5594
|
+
* @default false
|
|
5595
|
+
*/
|
|
5596
|
+
treeData: boolean;
|
|
5597
|
+
/**
|
|
5598
|
+
* If above 0, the row children will be expanded up to this depth.
|
|
5599
|
+
* If equal to -1, all the row children will be expanded.
|
|
5600
|
+
* @default 0
|
|
5601
|
+
*/
|
|
5602
|
+
defaultGroupingExpansionDepth: number;
|
|
5603
|
+
/**
|
|
5604
|
+
* Determines if a group should be expanded after its creation.
|
|
5605
|
+
* This prop takes priority over the `defaultGroupingExpansionDepth` prop.
|
|
5606
|
+
* @param {GridRowTreeNodeConfig} node The node of the group to test.
|
|
5607
|
+
* @returns {boolean} A boolean indicating if the group is expanded.
|
|
5608
|
+
*/
|
|
5609
|
+
isGroupExpandedByDefault?: (node: GridRowTreeNodeConfig) => boolean;
|
|
5610
|
+
/**
|
|
5611
|
+
* If `true`, the column pinning is disabled.
|
|
5612
|
+
* @default false
|
|
5613
|
+
*/
|
|
5614
|
+
disableColumnPinning: boolean;
|
|
5615
|
+
/**
|
|
5616
|
+
* If `true`, the filtering will only be applied to the top level rows.
|
|
5617
|
+
* @default false
|
|
5618
|
+
*/
|
|
5619
|
+
disableChildrenFiltering: boolean;
|
|
5620
|
+
/**
|
|
5621
|
+
* If `true`, the sorting will only be applied to the top level rows.
|
|
5622
|
+
* @default false
|
|
5623
|
+
*/
|
|
5624
|
+
disableChildrenSorting: boolean;
|
|
5625
|
+
}
|
|
5626
|
+
interface DataGridProPropsWithoutDefaultValue extends DataGridPropsWithoutDefaultValue {
|
|
5627
|
+
/**
|
|
5628
|
+
* Determines the path of a row in the tree data.
|
|
5629
|
+
* For instance, a row with the path ["A", "B"] is the child of the row with the path ["A"].
|
|
5630
|
+
* Note that all paths must contain at least one element.
|
|
5631
|
+
* @param {GridRowModel} row The row from which we want the path.
|
|
5632
|
+
* @returns {string[]} The path to the row.
|
|
5633
|
+
*/
|
|
5634
|
+
getTreeDataPath?: (row: GridRowModel) => string[];
|
|
5635
|
+
/**
|
|
5636
|
+
* Callback fired while a column is being resized.
|
|
5637
|
+
* @param {GridColumnResizeParams} params With all properties from [[GridColumnResizeParams]].
|
|
5638
|
+
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
5639
|
+
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5640
|
+
*/
|
|
5641
|
+
onColumnResize?: GridEventListener<GridEvents.columnResize>;
|
|
5642
|
+
/**
|
|
5643
|
+
* Callback fired when the width of a column is changed.
|
|
5644
|
+
* @param {GridColumnResizeParams} params With all properties from [[GridColumnResizeParams]].
|
|
5645
|
+
* @param {MuiEvent<React.MouseEvent>} event The event object.
|
|
5646
|
+
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5647
|
+
*/
|
|
5648
|
+
onColumnWidthChange?: GridEventListener<GridEvents.columnWidthChange>;
|
|
5649
|
+
/**
|
|
5650
|
+
* Callback fired when scrolling to the bottom of the grid viewport.
|
|
5651
|
+
* @param {GridRowScrollEndParams} params With all properties from [[GridRowScrollEndParams]].
|
|
5652
|
+
* @param {MuiEvent<{}>} event The event object.
|
|
5653
|
+
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5654
|
+
*/
|
|
5655
|
+
onRowsScrollEnd?: GridEventListener<GridEvents.rowsScrollEnd>;
|
|
5656
|
+
/**
|
|
5657
|
+
* The column fields to display pinned to left or right.
|
|
5658
|
+
*/
|
|
5659
|
+
pinnedColumns?: GridPinnedColumns;
|
|
5660
|
+
/**
|
|
5661
|
+
* Callback fired when the pinned columns have changed.
|
|
5662
|
+
* @param {GridPinnedColumns} pinnedColumns The changed pinned columns.
|
|
5663
|
+
* @param {GridCallbackDetails} details Additional details for this callback.
|
|
5664
|
+
*/
|
|
5665
|
+
onPinnedColumnsChange?: (pinnedColumns: GridPinnedColumns, details: GridCallbackDetails) => void;
|
|
5666
|
+
/**
|
|
5667
|
+
* The grouping column used by the tree data.
|
|
5668
|
+
*/
|
|
5669
|
+
groupingColDef?: GridGroupingColDefOverride | ((params: GridGroupingColDefOverrideParams) => GridGroupingColDefOverride | undefined | null);
|
|
5670
|
+
}
|
|
5671
|
+
|
|
5672
|
+
declare const useGridRootProps: () => DataGridProcessedProps | DataGridProProcessedProps;
|
|
5673
|
+
|
|
5674
|
+
declare function useGridScrollFn(apiRef: GridApiRef, renderingZoneElementRef: React$1.RefObject<HTMLDivElement>, columnHeadersElementRef: React$1.RefObject<HTMLDivElement>): [GridScrollFn];
|
|
5675
|
+
|
|
5676
|
+
declare const useGridSelector: <T>(apiRef: GridApiRef, selector: (state: GridState) => T) => T;
|
|
5677
|
+
|
|
5678
|
+
/**
|
|
5679
|
+
* @deprecated Use `apiRef.current.state`, `apiRef.current.setState` and `apiRef.current.forceUpdate` instead.
|
|
5680
|
+
*/
|
|
5681
|
+
declare const useGridState: (apiRef: GridApiRef) => readonly [GridState, (state: GridState | ((previousState: GridState) => GridState)) => boolean, () => void];
|
|
5682
|
+
|
|
5683
|
+
declare const useGridNativeEventListener: <E extends Event>(apiRef: GridApiRef, ref: React$1.MutableRefObject<HTMLDivElement | null> | (() => Element | undefined | null), eventName: string, handler?: ((event: E) => any) | undefined, options?: AddEventListenerOptions | undefined) => void;
|
|
5610
5684
|
|
|
5611
5685
|
interface Localization {
|
|
5612
5686
|
components: {
|
|
5613
5687
|
MuiDataGrid: {
|
|
5614
|
-
defaultProps:
|
|
5688
|
+
defaultProps: {
|
|
5689
|
+
localeText: Partial<GridLocaleText>;
|
|
5690
|
+
};
|
|
5615
5691
|
};
|
|
5616
5692
|
};
|
|
5617
5693
|
}
|
|
@@ -5632,6 +5708,8 @@ declare const esES: Localization;
|
|
|
5632
5708
|
|
|
5633
5709
|
declare const faIR: Localization;
|
|
5634
5710
|
|
|
5711
|
+
declare const fiFI: Localization;
|
|
5712
|
+
|
|
5635
5713
|
declare const frFR: Localization;
|
|
5636
5714
|
|
|
5637
5715
|
declare const heIL: Localization;
|
|
@@ -5660,8 +5738,6 @@ declare const viVN: Localization;
|
|
|
5660
5738
|
|
|
5661
5739
|
declare const zhCN: Localization;
|
|
5662
5740
|
|
|
5663
|
-
declare type DataGridProProps = Omit<GridInputComponentProps, 'signature'>;
|
|
5664
|
-
|
|
5665
5741
|
declare const DataGridPro: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<DataGridProProps & React$1.RefAttributes<HTMLDivElement>>>;
|
|
5666
5742
|
|
|
5667
|
-
export { AutoSizerProps, AutoSizerSize, CursorCoordinates, DEFAULT_GRID_COL_TYPE_KEY, DataGridPro, DataGridProProps, 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_SINGLE_SELECT_COL_DEF, GRID_STRING_COL_DEF, 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, GridColumnHeaderSortIcon, GridColumnHeaderSortIconProps, GridColumnHeaderTitle, GridColumnHeaderTitleProps, GridColumnIcon, GridColumnIdentifier, GridColumnLookup, GridColumnMenu, GridColumnMenuApi, GridColumnMenuContainer, GridColumnMenuProps, GridColumnMenuState, GridColumnOrderChangeParams, GridColumnPinningApi, GridColumnPinningMenuItems, GridColumnReorderState, GridColumnResizeParams, GridColumnResizeState, GridColumnTypesRecord, GridColumnVisibilityChangeParams, GridColumns, GridColumnsMenuItem, GridColumnsMeta, GridColumnsPanel, GridColumnsState, GridCommitCellChangeParams, GridComparatorFn,
|
|
5743
|
+
export { AutoSizerProps, AutoSizerSize, CursorCoordinates, DEFAULT_GRID_COL_TYPE_KEY, DataGridPro, DataGridProProps, 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_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, GridColumnReorderState, GridColumnResizeParams, GridColumnResizeState, GridColumnTypesRecord, GridColumnVisibilityChangeParams, GridColumns, GridColumnsMenuItem, GridColumnsMeta, GridColumnsPanel, GridColumnsState, GridCommitCellChangeParams, GridComparatorFn, GridControlledStateEventLookup, GridCoreApi, GridCsvExportApi, GridCsvExportOptions, 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, GridExpandLessIcon, GridExpandMoreIcon, GridExportFormat, GridExportOptions, GridFeatureMode, GridFeatureModeConstant, GridFilterActiveItemsLookup, GridFilterAltIcon, GridFilterApi, GridFilterForm, GridFilterFormProps, GridFilterInitialState, GridFilterInputDate, GridFilterInputDateProps, GridFilterInputSingleSelect, GridFilterInputSingleSelectProps, GridFilterInputValue, GridFilterInputValueProps, GridFilterItem, GridFilterItemProps, GridFilterListIcon, GridFilterMenuItem, GridFilterModel, GridFilterOperator, GridFilterPanel, GridFilterState, GridFocusApi, GridFocusState, GridFooter, GridFooterContainer, GridFooterContainerProps, GridFooterPlaceholder, GridGroupingColDefOverride, GridGroupingColDefOverrideParams, GridHeader, GridHeaderCheckbox, GridHeaderPlaceholder, GridHeaderSelectionCheckboxParams, GridIconSlotsComponent, GridInitialState, GridInputSelectionModel, GridKeyValue, 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, GridRowId, GridRowIdGetter, GridRowMode, GridRowModel, GridRowModelUpdate, GridRowModes, GridRowParams, GridRowProps, GridRowScrollEndParams, GridRowSelectionCheckboxParams, GridRowTreeConfig, GridRowTreeNodeConfig, GridRowsLookup, 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, GridTranslationKeys, GridTreeDataGroupingCell, GridTripleDotsVerticalIcon, GridTypeFilterInputValueProps, GridUpdateAction, GridValueFormatterParams, GridValueGetterFullParams, GridValueGetterParams, GridValueGetterSimpleParams, GridValueOptionsParams, GridValueSetterParams, GridViewHeadlineIcon, GridViewStreamIcon, HideGridColMenuItem, Logger, 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, getGridSingleSelectOperators, getGridStringOperators, gridClasses, gridColumnLookupSelector, gridColumnMenuSelector, gridColumnReorderDragColSelector, gridColumnReorderSelector, gridColumnResizeSelector, gridColumnsMetaSelector, gridColumnsSelector, gridColumnsTotalWidthSelector, gridDateFormatter, gridDateTimeFormatter, gridDensityHeaderHeightSelector, gridDensityRowHeightSelector, gridDensitySelector, gridDensityValueSelector, gridEditRowsStateSelector, gridFilterActiveItemsLookupSelector, gridFilterActiveItemsSelector, gridFilterModelSelector, gridFilterStateSelector, gridFilteredDescendantCountLookupSelector, gridFocusCellSelector, gridFocusColumnHeaderSelector, gridFocusStateSelector, gridPageCountSelector, gridPageSelector, gridPageSizeSelector, gridPaginatedVisibleSortedGridRowEntriesSelector, gridPaginatedVisibleSortedGridRowIdsSelector, gridPaginationRowRangeSelector, gridPaginationSelector, gridPanelClasses, gridPreferencePanelStateSelector, gridResizingColumnFieldSelector, gridRowCountSelector, gridRowGroupingNameSelector, gridRowIdsSelector, gridRowTreeDepthSelector, gridRowTreeSelector, gridRowsLookupSelector, gridRowsStateSelector, gridSelectionStateSelector, gridSortColumnLookupSelector, gridSortModelSelector, gridSortedRowEntriesSelector, gridSortedRowIdsSelector, 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, useGridApi, useGridApiContext, useGridApiEventHandler, useGridApiMethod, useGridApiOptionHandler, useGridApiRef, useGridLogger, useGridNativeEventListener, useGridRootProps, useGridScrollFn, useGridSelector, useGridState, viVN, visibleGridColumnsLengthSelector, visibleGridColumnsSelector, zhCN };
|