sccoreui 5.9.23 → 5.9.24
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.
|
@@ -140,7 +140,7 @@ function ParentForGrid(props) {
|
|
|
140
140
|
const checkedRecords = result.rowData.filter((data) => data === null || data === void 0 ? void 0 : data.isSelected);
|
|
141
141
|
setDefaultSelectedRows(checkedRecords);
|
|
142
142
|
const checkboxData = Object.assign(Object.assign({}, featureDetails.checkBoxSelection), { includedRecords: checkedRecords });
|
|
143
|
-
setFeatureDetails(Object.assign(Object.assign({},
|
|
143
|
+
setFeatureDetails(Object.assign(Object.assign({}, currentFeatures), { checkBoxSelection: checkboxData }));
|
|
144
144
|
// response.actualEndRow = actualEndRow;
|
|
145
145
|
return result;
|
|
146
146
|
}
|
|
@@ -154,7 +154,6 @@ function ParentForGrid(props) {
|
|
|
154
154
|
if (!updatedFeatures) {
|
|
155
155
|
currentFeatures = featureDetails;
|
|
156
156
|
}
|
|
157
|
-
setFeatureDetails(currentFeatures);
|
|
158
157
|
if (props.rowModelType === constants_1.ROWMODELTYPE.CLIENT_SIDE) {
|
|
159
158
|
params.api.setGridOption("rowData", []);
|
|
160
159
|
const result = yield getData(0, 0, currentFeatures);
|
|
@@ -245,9 +244,9 @@ function ParentForGrid(props) {
|
|
|
245
244
|
(0, react_1.useEffect)(() => {
|
|
246
245
|
if (props === null || props === void 0 ? void 0 : props.getCheckedRows) {
|
|
247
246
|
const callBackForCheckedRows = props === null || props === void 0 ? void 0 : props.getCheckedRows;
|
|
248
|
-
callBackForCheckedRows(featureDetails
|
|
247
|
+
callBackForCheckedRows(featureDetails);
|
|
249
248
|
}
|
|
250
|
-
}, [featureDetails
|
|
249
|
+
}, [featureDetails]);
|
|
251
250
|
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(error_ui_1.default, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ style: { height: style.height, width: style.width }, className: "ag-grid-container border-1 border-gray-200 border-round" }, { children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(context_provider_1.default, Object.assign({ value: {
|
|
252
251
|
featureDetails,
|
|
253
252
|
setFeatureDetails,
|