sccoreui 5.9.95 → 5.9.97
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.
|
@@ -9,8 +9,9 @@ const client_side_row_model_1 = require("@ag-grid-community/client-side-row-mode
|
|
|
9
9
|
const core_2 = require("@ag-grid-enterprise/core");
|
|
10
10
|
const range_selection_1 = require("@ag-grid-enterprise/range-selection");
|
|
11
11
|
const infinite_row_model_1 = require("@ag-grid-community/infinite-row-model");
|
|
12
|
+
const server_side_row_model_1 = require("@ag-grid-enterprise/server-side-row-model");
|
|
12
13
|
const LicenceKey_1 = require("./LicenceKey");
|
|
13
|
-
core_1.ModuleRegistry.registerModules([client_side_row_model_1.ClientSideRowModelModule, range_selection_1.RangeSelectionModule, infinite_row_model_1.InfiniteRowModelModule]);
|
|
14
|
+
core_1.ModuleRegistry.registerModules([client_side_row_model_1.ClientSideRowModelModule, range_selection_1.RangeSelectionModule, infinite_row_model_1.InfiniteRowModelModule, server_side_row_model_1.ServerSideRowModelModule]);
|
|
14
15
|
core_2.LicenseManager.setLicenseKey(LicenceKey_1.LICENSEKEY);
|
|
15
16
|
const AgGrid = ({ style, gridOptions, onGridReady, gridRef }) => {
|
|
16
17
|
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "ag-theme-quartz ", style: { height: style.height, width: style.width } }, { children: (0, jsx_runtime_1.jsx)(react_1.AgGridReact, Object.assign({ ref: gridRef, onGridReady: onGridReady, reactiveCustomComponents: true }, gridOptions)) })) }));
|
|
@@ -205,7 +205,7 @@ function ParentForGrid(props) {
|
|
|
205
205
|
var _a;
|
|
206
206
|
if (((_a = response.rowData) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
207
207
|
// supply rows for requested block to grid
|
|
208
|
-
params.success({ rowData: response.rowData });
|
|
208
|
+
params.success({ rowData: response.rowData, rowCount: response === null || response === void 0 ? void 0 : response.actualEndRow });
|
|
209
209
|
}
|
|
210
210
|
else {
|
|
211
211
|
params.fail();
|