@nokecy/qc-ui 1.0.17 → 1.0.18
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.
|
@@ -169,7 +169,7 @@ function AgGridPlus(props) {
|
|
|
169
169
|
applyOrder: true
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
|
-
}, [gridPlusColumnState, apiRef.current
|
|
172
|
+
}, [gridPlusColumnState, apiRef.current]);
|
|
173
173
|
(0, _react.useEffect)(function () {
|
|
174
174
|
setRowData(dataSource || propRowData || []);
|
|
175
175
|
}, [dataSource, propRowData]);
|
|
@@ -510,7 +510,8 @@ function AgGridPlus(props) {
|
|
|
510
510
|
var _apiRef$current4;
|
|
511
511
|
var _columnState = (_apiRef$current4 = apiRef.current) === null || _apiRef$current4 === void 0 ? void 0 : _apiRef$current4.getColumnState();
|
|
512
512
|
setColumnState(_columnState);
|
|
513
|
-
|
|
513
|
+
|
|
514
|
+
// onColumnStateChanged && onColumnStateChanged(columnState)
|
|
514
515
|
}
|
|
515
516
|
}
|
|
516
517
|
// onColumnMoved={() => {
|
|
@@ -160,7 +160,7 @@ function AgGridPlus(props) {
|
|
|
160
160
|
applyOrder: true
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
}, [gridPlusColumnState, apiRef.current
|
|
163
|
+
}, [gridPlusColumnState, apiRef.current]);
|
|
164
164
|
useEffect(function () {
|
|
165
165
|
setRowData(dataSource || propRowData || []);
|
|
166
166
|
}, [dataSource, propRowData]);
|
|
@@ -501,7 +501,8 @@ function AgGridPlus(props) {
|
|
|
501
501
|
var _apiRef$current4;
|
|
502
502
|
var _columnState = (_apiRef$current4 = apiRef.current) === null || _apiRef$current4 === void 0 ? void 0 : _apiRef$current4.getColumnState();
|
|
503
503
|
setColumnState(_columnState);
|
|
504
|
-
|
|
504
|
+
|
|
505
|
+
// onColumnStateChanged && onColumnStateChanged(columnState)
|
|
505
506
|
}
|
|
506
507
|
}
|
|
507
508
|
// onColumnMoved={() => {
|