@adaptabletools/adaptable-plugin-master-detail-aggrid-cjs 18.1.13 → 18.1.15-canary.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-plugin-master-detail-aggrid-cjs",
3
- "version": "18.1.13",
3
+ "version": "18.1.15-canary.0",
4
4
  "description": "",
5
5
  "homepage": "http://www.adaptabletools.com/",
6
6
  "author": {
@@ -11,9 +11,9 @@
11
11
  "typings": "src/index.d.ts",
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0",
14
- "@adaptabletools/adaptable-cjs": "18.1.13"
14
+ "@adaptabletools/adaptable-cjs": "18.1.15-canary.0"
15
15
  },
16
16
  "peerDependencies": {
17
- "ag-grid-enterprise": ">=31.3.1"
17
+ "ag-grid-enterprise": ">=32.1.0"
18
18
  }
19
19
  }
@@ -10,6 +10,7 @@ class DetailCellRenderer {
10
10
  this.loadRowDataVersion = 0;
11
11
  }
12
12
  async init(params) {
13
+ var _a;
13
14
  this.params = params;
14
15
  this.eGui = document.createElement('div');
15
16
  this.eGui.classList.add('ag-details-row');
@@ -22,7 +23,7 @@ class DetailCellRenderer {
22
23
  const detailGridOptions = params.detailGridOptions;
23
24
  detailGridOptions.detailCellRenderer = DetailCellRenderer;
24
25
  // Adaptable logic
25
- const adaptableContainerId = `adaptable-detail-${params.rowIndex}`;
26
+ const adaptableContainerId = `adaptable-detail-${(_a = params.node) === null || _a === void 0 ? void 0 : _a.rowIndex}`;
26
27
  const adaptableContainer = document.createElement('div');
27
28
  adaptableContainer.id = adaptableContainerId;
28
29
  // Attach Adaptable