@mui/x-data-grid 6.0.0-alpha.0 → 6.0.0-alpha.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 +209 -0
- package/DataGrid/useDataGridProps.js +4 -4
- package/components/DataGridVirtualScroller.js +5 -3
- package/components/GridPagination.d.ts +43 -1
- package/components/GridPagination.js +1 -2
- package/components/GridRow.d.ts +1 -4
- package/components/GridRow.js +9 -8
- package/components/base/GridBody.js +1 -2
- package/components/base/GridOverlays.js +52 -12
- package/components/cell/GridBooleanCell.js +2 -1
- package/components/columnSelection/GridCellCheckboxRenderer.d.ts +2 -2
- package/components/columnSelection/GridCellCheckboxRenderer.js +1 -6
- package/components/containers/GridOverlay.js +0 -5
- package/components/panel/filterPanel/GridFilterForm.js +2 -1
- package/components/toolbar/GridToolbarFilterButton.js +8 -4
- package/constants/gridClasses.d.ts +8 -0
- package/hooks/core/pipeProcessing/gridPipeProcessingApi.d.ts +1 -1
- package/hooks/core/strategyProcessing/gridStrategyProcessingApi.d.ts +1 -1
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/hooks/features/editRows/useGridCellEditing.new.js +18 -9
- package/hooks/features/editRows/useGridEditing.new.js +3 -2
- package/hooks/features/editRows/useGridEditing.old.js +2 -1
- package/hooks/features/editRows/useGridRowEditing.new.js +18 -9
- package/hooks/features/export/useGridPrintExport.js +31 -17
- package/hooks/features/export/utils.js +1 -5
- package/hooks/features/filter/gridFilterSelector.js +2 -2
- package/hooks/features/filter/useGridFilter.js +6 -6
- package/hooks/features/pagination/gridPaginationSelector.js +2 -2
- package/hooks/features/rows/gridRowsInterfaces.d.ts +106 -0
- package/hooks/features/rows/{gridRowsState.js → gridRowsInterfaces.js} +0 -0
- package/hooks/features/rows/gridRowsSelector.d.ts +17 -7
- package/hooks/features/rows/gridRowsSelector.js +38 -6
- package/hooks/features/rows/gridRowsUtils.d.ts +16 -4
- package/hooks/features/rows/gridRowsUtils.js +222 -39
- package/hooks/features/rows/index.d.ts +3 -3
- package/hooks/features/rows/index.js +2 -2
- package/hooks/features/rows/useGridRows.js +161 -124
- package/hooks/features/rows/useGridRowsPreProcessors.js +78 -26
- package/hooks/features/selection/useGridSelection.js +2 -2
- package/hooks/features/sorting/gridSortingSelector.js +9 -4
- package/hooks/features/sorting/gridSortingState.d.ts +2 -2
- package/hooks/features/sorting/useGridSorting.js +9 -33
- package/hooks/features/virtualization/useGridVirtualScroller.d.ts +4 -7
- package/hooks/features/virtualization/useGridVirtualScroller.js +11 -17
- package/index.js +1 -1
- package/internals/index.d.ts +2 -1
- package/internals/index.js +1 -0
- package/legacy/DataGrid/useDataGridProps.js +4 -4
- package/legacy/components/DataGridVirtualScroller.js +5 -3
- package/legacy/components/GridPagination.js +1 -2
- package/legacy/components/GridRow.js +9 -8
- package/legacy/components/base/GridBody.js +1 -2
- package/legacy/components/base/GridOverlays.js +54 -12
- package/legacy/components/cell/GridBooleanCell.js +2 -1
- package/legacy/components/columnSelection/GridCellCheckboxRenderer.js +1 -6
- package/legacy/components/containers/GridOverlay.js +0 -5
- package/legacy/components/panel/filterPanel/GridFilterForm.js +2 -1
- package/legacy/components/toolbar/GridToolbarFilterButton.js +3 -1
- package/legacy/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/legacy/hooks/features/editRows/useGridCellEditing.new.js +18 -9
- package/legacy/hooks/features/editRows/useGridEditing.new.js +3 -2
- package/legacy/hooks/features/editRows/useGridEditing.old.js +2 -1
- package/legacy/hooks/features/editRows/useGridRowEditing.new.js +18 -9
- package/legacy/hooks/features/export/useGridPrintExport.js +33 -20
- package/legacy/hooks/features/export/utils.js +1 -3
- package/legacy/hooks/features/filter/gridFilterSelector.js +2 -2
- package/legacy/hooks/features/filter/useGridFilter.js +6 -6
- package/legacy/hooks/features/pagination/gridPaginationSelector.js +2 -2
- package/legacy/hooks/features/rows/{gridRowsState.js → gridRowsInterfaces.js} +0 -0
- package/legacy/hooks/features/rows/gridRowsSelector.js +52 -9
- package/legacy/hooks/features/rows/gridRowsUtils.js +238 -46
- package/legacy/hooks/features/rows/index.js +2 -2
- package/legacy/hooks/features/rows/useGridRows.js +163 -134
- package/legacy/hooks/features/rows/useGridRowsPreProcessors.js +81 -26
- package/legacy/hooks/features/selection/useGridSelection.js +2 -2
- package/legacy/hooks/features/sorting/gridSortingSelector.js +5 -2
- package/legacy/hooks/features/sorting/useGridSorting.js +11 -33
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +11 -17
- package/legacy/index.js +1 -1
- package/legacy/internals/index.js +1 -0
- package/legacy/models/gridFeatureMode.js +1 -4
- package/models/api/gridParamsApi.d.ts +2 -2
- package/models/api/gridRowApi.d.ts +7 -5
- package/models/events/gridEventLookup.d.ts +3 -3
- package/models/gridApiCaches.d.ts +1 -1
- package/models/gridFeatureMode.d.ts +0 -4
- package/models/gridFeatureMode.js +1 -4
- package/models/gridRows.d.ts +100 -30
- package/models/gridSortModel.d.ts +2 -2
- package/models/params/gridCellParams.d.ts +7 -11
- package/modern/DataGrid/useDataGridProps.js +4 -4
- package/modern/components/DataGridVirtualScroller.js +5 -3
- package/modern/components/GridPagination.js +1 -2
- package/modern/components/GridRow.js +9 -8
- package/modern/components/base/GridBody.js +1 -2
- package/modern/components/base/GridOverlays.js +52 -12
- package/modern/components/cell/GridBooleanCell.js +2 -1
- package/modern/components/columnSelection/GridCellCheckboxRenderer.js +1 -6
- package/modern/components/containers/GridOverlay.js +0 -5
- package/modern/components/panel/filterPanel/GridFilterForm.js +2 -1
- package/modern/components/toolbar/GridToolbarFilterButton.js +1 -1
- package/modern/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/modern/hooks/features/editRows/useGridCellEditing.new.js +18 -9
- package/modern/hooks/features/editRows/useGridEditing.new.js +3 -2
- package/modern/hooks/features/editRows/useGridEditing.old.js +2 -1
- package/modern/hooks/features/editRows/useGridRowEditing.new.js +18 -9
- package/modern/hooks/features/export/useGridPrintExport.js +30 -16
- package/modern/hooks/features/export/utils.js +1 -1
- package/modern/hooks/features/filter/gridFilterSelector.js +2 -2
- package/modern/hooks/features/filter/useGridFilter.js +6 -6
- package/modern/hooks/features/pagination/gridPaginationSelector.js +2 -2
- package/modern/hooks/features/rows/{gridRowsState.js → gridRowsInterfaces.js} +0 -0
- package/modern/hooks/features/rows/gridRowsSelector.js +28 -6
- package/modern/hooks/features/rows/gridRowsUtils.js +220 -37
- package/modern/hooks/features/rows/index.js +2 -2
- package/modern/hooks/features/rows/useGridRows.js +158 -121
- package/modern/hooks/features/rows/useGridRowsPreProcessors.js +78 -26
- package/modern/hooks/features/selection/useGridSelection.js +2 -2
- package/modern/hooks/features/sorting/gridSortingSelector.js +3 -2
- package/modern/hooks/features/sorting/useGridSorting.js +9 -33
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +10 -16
- package/modern/index.js +1 -1
- package/modern/internals/index.js +1 -0
- package/modern/models/gridFeatureMode.js +1 -4
- package/node/DataGrid/useDataGridProps.js +3 -3
- package/node/components/DataGridVirtualScroller.js +5 -3
- package/node/components/GridPagination.js +1 -2
- package/node/components/GridRow.js +9 -7
- package/node/components/base/GridBody.js +1 -3
- package/node/components/base/GridOverlays.js +57 -12
- package/node/components/cell/GridBooleanCell.js +3 -1
- package/node/components/columnSelection/GridCellCheckboxRenderer.js +1 -6
- package/node/components/containers/GridOverlay.js +0 -5
- package/node/components/panel/filterPanel/GridFilterForm.js +2 -1
- package/node/components/toolbar/GridToolbarFilterButton.js +8 -4
- package/node/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -1
- package/node/hooks/features/editRows/useGridCellEditing.new.js +20 -10
- package/node/hooks/features/editRows/useGridEditing.new.js +4 -2
- package/node/hooks/features/editRows/useGridEditing.old.js +3 -1
- package/node/hooks/features/editRows/useGridRowEditing.new.js +20 -10
- package/node/hooks/features/export/useGridPrintExport.js +31 -17
- package/node/hooks/features/export/utils.js +1 -5
- package/node/hooks/features/filter/gridFilterSelector.js +1 -1
- package/node/hooks/features/filter/useGridFilter.js +5 -6
- package/node/hooks/features/pagination/gridPaginationSelector.js +1 -1
- package/node/hooks/features/rows/{gridRowsState.js → gridRowsInterfaces.js} +0 -0
- package/node/hooks/features/rows/gridRowsSelector.js +43 -10
- package/node/hooks/features/rows/gridRowsUtils.js +239 -40
- package/node/hooks/features/rows/index.js +23 -9
- package/node/hooks/features/rows/useGridRows.js +161 -122
- package/node/hooks/features/rows/useGridRowsPreProcessors.js +81 -26
- package/node/hooks/features/selection/useGridSelection.js +2 -2
- package/node/hooks/features/sorting/gridSortingSelector.js +9 -4
- package/node/hooks/features/sorting/useGridSorting.js +9 -33
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +11 -17
- package/node/index.js +1 -1
- package/node/internals/index.js +14 -2
- package/node/models/gridFeatureMode.js +1 -7
- package/package.json +1 -1
- package/themeAugmentation/props.d.ts +2 -2
- package/hooks/features/rows/gridRowsState.d.ts +0 -60
|
@@ -26,8 +26,6 @@ var _useGridSelector = require("../../utils/useGridSelector");
|
|
|
26
26
|
|
|
27
27
|
var _gridColumnsSelector = require("../columns/gridColumnsSelector");
|
|
28
28
|
|
|
29
|
-
var _densitySelector = require("../density/densitySelector");
|
|
30
|
-
|
|
31
29
|
var _gridFocusStateSelector = require("../focus/gridFocusStateSelector");
|
|
32
30
|
|
|
33
31
|
var _gridEditRowsSelector = require("../editRows/gridEditRowsSelector");
|
|
@@ -44,6 +42,8 @@ var _gridRowsMetaSelector = require("../rows/gridRowsMetaSelector");
|
|
|
44
42
|
|
|
45
43
|
var _gridColumnsUtils = require("../columns/gridColumnsUtils");
|
|
46
44
|
|
|
45
|
+
var _gridRowsUtils = require("../rows/gridRowsUtils");
|
|
46
|
+
|
|
47
47
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
48
48
|
|
|
49
49
|
const _excluded = ["style"];
|
|
@@ -106,7 +106,6 @@ const useGridVirtualScroller = props => {
|
|
|
106
106
|
} = props;
|
|
107
107
|
const columnPositions = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnsSelector.gridColumnPositionsSelector);
|
|
108
108
|
const columnsTotalWidth = (0, _useGridSelector.useGridSelector)(apiRef, _gridColumnsSelector.gridColumnsTotalWidthSelector);
|
|
109
|
-
const rowHeight = (0, _useGridSelector.useGridSelector)(apiRef, _densitySelector.gridDensityRowHeightSelector);
|
|
110
109
|
const cellFocus = (0, _useGridSelector.useGridSelector)(apiRef, _gridFocusStateSelector.gridFocusCellSelector);
|
|
111
110
|
const cellTabIndex = (0, _useGridSelector.useGridSelector)(apiRef, _gridFocusStateSelector.gridTabIndexCellSelector);
|
|
112
111
|
const rowsMeta = (0, _useGridSelector.useGridSelector)(apiRef, _gridRowsMetaSelector.gridRowsMetaSelector);
|
|
@@ -128,16 +127,16 @@ const useGridVirtualScroller = props => {
|
|
|
128
127
|
var _currentPage$range, _currentPage$range2;
|
|
129
128
|
|
|
130
129
|
const lastMeasuredIndexRelativeToAllRows = apiRef.current.unstable_getLastMeasuredRowIndex();
|
|
131
|
-
|
|
132
|
-
const lastMeasuredIndex = Math.max(0, lastMeasuredIndexRelativeToCurrentPage);
|
|
133
|
-
let allRowsMeasured = lastMeasuredIndex === Infinity;
|
|
130
|
+
let allRowsMeasured = lastMeasuredIndexRelativeToAllRows === Infinity;
|
|
134
131
|
|
|
135
|
-
if ((_currentPage$
|
|
132
|
+
if ((_currentPage$range = currentPage.range) != null && _currentPage$range.lastRowIndex && !allRowsMeasured) {
|
|
136
133
|
// Check if all rows in this page are already measured
|
|
137
|
-
allRowsMeasured =
|
|
134
|
+
allRowsMeasured = lastMeasuredIndexRelativeToAllRows >= currentPage.range.lastRowIndex;
|
|
138
135
|
}
|
|
139
136
|
|
|
140
|
-
|
|
137
|
+
const lastMeasuredIndexRelativeToCurrentPage = (0, _utils2.clamp)(lastMeasuredIndexRelativeToAllRows - (((_currentPage$range2 = currentPage.range) == null ? void 0 : _currentPage$range2.firstRowIndex) || 0), 0, rowsMeta.positions.length);
|
|
138
|
+
|
|
139
|
+
if (allRowsMeasured || rowsMeta.positions[lastMeasuredIndexRelativeToCurrentPage] >= offset) {
|
|
141
140
|
// If all rows were measured (when no row has "auto" as height) or all rows before the offset
|
|
142
141
|
// were measured, then use a binary search because it's faster.
|
|
143
142
|
return binarySearch(offset, rowsMeta.positions);
|
|
@@ -147,7 +146,7 @@ const useGridVirtualScroller = props => {
|
|
|
147
146
|
// Inspired by https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/utils/CellSizeAndPositionManager.js
|
|
148
147
|
|
|
149
148
|
|
|
150
|
-
return exponentialSearch(offset, rowsMeta.positions,
|
|
149
|
+
return exponentialSearch(offset, rowsMeta.positions, lastMeasuredIndexRelativeToCurrentPage);
|
|
151
150
|
}, [apiRef, (_currentPage$range3 = currentPage.range) == null ? void 0 : _currentPage$range3.firstRowIndex, (_currentPage$range4 = currentPage.range) == null ? void 0 : _currentPage$range4.lastRowIndex, rowsMeta.positions]);
|
|
152
151
|
const computeRenderContext = React.useCallback(() => {
|
|
153
152
|
if (disableVirtualization) {
|
|
@@ -457,19 +456,14 @@ const useGridVirtualScroller = props => {
|
|
|
457
456
|
height,
|
|
458
457
|
minHeight: shouldExtendContent ? '100%' : 'auto'
|
|
459
458
|
};
|
|
460
|
-
|
|
461
|
-
if (rootProps.autoHeight && currentPage.rows.length === 0) {
|
|
462
|
-
size.height = 2 * rowHeight; // Give room to show the overlay when there's no row.
|
|
463
|
-
}
|
|
464
|
-
|
|
465
459
|
return size;
|
|
466
|
-
}, [rootRef, columnsTotalWidth, rowsMeta.currentPageTotalHeight,
|
|
460
|
+
}, [rootRef, columnsTotalWidth, rowsMeta.currentPageTotalHeight, needsHorizontalScrollbar]);
|
|
467
461
|
React.useEffect(() => {
|
|
468
462
|
apiRef.current.publishEvent('virtualScrollerContentSizeChange');
|
|
469
463
|
}, [apiRef, contentSize]);
|
|
470
464
|
|
|
471
465
|
if (rootProps.autoHeight && currentPage.rows.length === 0) {
|
|
472
|
-
contentSize.height =
|
|
466
|
+
contentSize.height = (0, _gridRowsUtils.getMinimalContentHeight)(apiRef); // Give room to show the overlay when there no rows.
|
|
473
467
|
}
|
|
474
468
|
|
|
475
469
|
const rootStyle = {};
|
package/node/index.js
CHANGED
package/node/internals/index.js
CHANGED
|
@@ -39,6 +39,12 @@ Object.defineProperty(exports, "GridVirtualScrollerRenderZone", {
|
|
|
39
39
|
return _GridVirtualScrollerRenderZone.GridVirtualScrollerRenderZone;
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
+
Object.defineProperty(exports, "buildRootGroup", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _gridRowsUtils.buildRootGroup;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
42
48
|
Object.defineProperty(exports, "buildWarning", {
|
|
43
49
|
enumerable: true,
|
|
44
50
|
get: function () {
|
|
@@ -147,6 +153,12 @@ Object.defineProperty(exports, "getRowIdFromRowModel", {
|
|
|
147
153
|
return _gridRowsUtils.getRowIdFromRowModel;
|
|
148
154
|
}
|
|
149
155
|
});
|
|
156
|
+
Object.defineProperty(exports, "getTreeNodeDescendants", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () {
|
|
159
|
+
return _gridRowsUtils.getTreeNodeDescendants;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
150
162
|
Object.defineProperty(exports, "gridAdditionalRowGroupsSelector", {
|
|
151
163
|
enumerable: true,
|
|
152
164
|
get: function () {
|
|
@@ -492,12 +504,12 @@ var _useGridRows = require("../hooks/features/rows/useGridRows");
|
|
|
492
504
|
|
|
493
505
|
var _useGridRowsPreProcessors = require("../hooks/features/rows/useGridRowsPreProcessors");
|
|
494
506
|
|
|
507
|
+
var _gridRowsUtils = require("../hooks/features/rows/gridRowsUtils");
|
|
508
|
+
|
|
495
509
|
var _useGridRowsMeta = require("../hooks/features/rows/useGridRowsMeta");
|
|
496
510
|
|
|
497
511
|
var _useGridParamsApi = require("../hooks/features/rows/useGridParamsApi");
|
|
498
512
|
|
|
499
|
-
var _gridRowsUtils = require("../hooks/features/rows/gridRowsUtils");
|
|
500
|
-
|
|
501
513
|
var _gridRowsSelector = require("../hooks/features/rows/gridRowsSelector");
|
|
502
514
|
|
|
503
515
|
var _useGridSelection = require("../hooks/features/selection/useGridSelection");
|
|
@@ -2,10 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.GridFeatureModeConstant = void 0;
|
|
7
|
-
const GridFeatureModeConstant = {
|
|
8
|
-
client: 'client',
|
|
9
|
-
server: 'server'
|
|
10
|
-
};
|
|
11
|
-
exports.GridFeatureModeConstant = GridFeatureModeConstant;
|
|
5
|
+
});
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentsOverrides, ComponentsProps } from '@mui/material/styles';
|
|
1
|
+
import { ComponentsOverrides, ComponentsProps, Theme } from '@mui/material/styles';
|
|
2
2
|
import { DataGridProps } from '../models/props/DataGridProps';
|
|
3
3
|
export interface DataGridComponentsPropsList {
|
|
4
4
|
MuiDataGrid: DataGridProps;
|
|
@@ -6,7 +6,7 @@ export interface DataGridComponentsPropsList {
|
|
|
6
6
|
export interface DataGridComponents {
|
|
7
7
|
MuiDataGrid?: {
|
|
8
8
|
defaultProps?: ComponentsProps['MuiDataGrid'];
|
|
9
|
-
styleOverrides?: ComponentsOverrides['MuiDataGrid'];
|
|
9
|
+
styleOverrides?: ComponentsOverrides<Theme>['MuiDataGrid'];
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
declare module '@mui/material/styles' {
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { GridRowId, GridRowsLookup, GridRowTreeConfig, GridRowEntry } from '../../../models/gridRows';
|
|
2
|
-
import type { DataGridProcessedProps } from '../../../models/props/DataGridProps';
|
|
3
|
-
export interface GridRowTreeCreationParams {
|
|
4
|
-
ids: GridRowId[];
|
|
5
|
-
idRowsLookup: GridRowsLookup;
|
|
6
|
-
idToIdLookup: Record<string, GridRowId>;
|
|
7
|
-
previousTree: GridRowTreeConfig | null;
|
|
8
|
-
}
|
|
9
|
-
export interface GridRowTreeCreationValue {
|
|
10
|
-
/**
|
|
11
|
-
* Name of the algorithm used to group the rows
|
|
12
|
-
* It is useful to decide which filtering / sorting algorithm to apply, to avoid applying tree-data filtering on a grouping-by-column dataset for instance.
|
|
13
|
-
*/
|
|
14
|
-
groupingName: string;
|
|
15
|
-
tree: GridRowTreeConfig;
|
|
16
|
-
treeDepth: number;
|
|
17
|
-
ids: GridRowId[];
|
|
18
|
-
idRowsLookup: GridRowsLookup;
|
|
19
|
-
idToIdLookup: Record<string, GridRowId>;
|
|
20
|
-
additionalRowGroups?: {
|
|
21
|
-
pinnedRows?: GridPinnedRowsState;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export interface GridRowsInternalCache extends Omit<GridRowTreeCreationParams, 'previousTree'> {
|
|
25
|
-
/**
|
|
26
|
-
* The rows as they were the last time all the rows have been updated at once
|
|
27
|
-
* It is used to avoid processing several time the same set of rows
|
|
28
|
-
*/
|
|
29
|
-
rowsBeforePartialUpdates: DataGridProcessedProps['rows'];
|
|
30
|
-
/**
|
|
31
|
-
* The value of the `loading` prop since the last time that the rows state was updated.
|
|
32
|
-
*/
|
|
33
|
-
loadingPropBeforePartialUpdates: DataGridProcessedProps['loading'];
|
|
34
|
-
}
|
|
35
|
-
export interface GridRowsState extends GridRowTreeCreationValue {
|
|
36
|
-
/**
|
|
37
|
-
* Matches the value of the `loading` prop.
|
|
38
|
-
*/
|
|
39
|
-
loading?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Amount of rows before applying the filtering.
|
|
42
|
-
* It also counts the expanded and collapsed children rows.
|
|
43
|
-
*/
|
|
44
|
-
totalRowCount: number;
|
|
45
|
-
/**
|
|
46
|
-
* Amount of rows before applying the filtering.
|
|
47
|
-
* It does not count the expanded children rows.
|
|
48
|
-
*/
|
|
49
|
-
totalTopLevelRowCount: number;
|
|
50
|
-
/**
|
|
51
|
-
* Tree returned by the `rowTreeCreation` strategy processor.
|
|
52
|
-
* It is used to re-apply the `hydrateRows` pipe processor without having to recreate the tree.
|
|
53
|
-
*/
|
|
54
|
-
groupingResponseBeforeRowHydration: GridRowTreeCreationValue;
|
|
55
|
-
}
|
|
56
|
-
export declare type GridHydrateRowsValue = GridRowTreeCreationValue;
|
|
57
|
-
export interface GridPinnedRowsState {
|
|
58
|
-
top?: GridRowEntry[];
|
|
59
|
-
bottom?: GridRowEntry[];
|
|
60
|
-
}
|