@adaptabletools/adaptable-plugin-master-detail-aggrid 13.1.1 → 14.0.0-canary.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-master-detail-aggrid",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0-canary.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "http://www.adaptabletools.com/",
|
|
6
6
|
"author": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"typings": "src/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"tslib": "^2.3.0",
|
|
14
|
-
"@adaptabletools/adaptable": "
|
|
14
|
+
"@adaptabletools/adaptable": "14.0.0-canary.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@ag-grid-enterprise/master-detail": ">=28.2.1"
|
|
@@ -44,7 +44,8 @@ class DetailCellRenderer extends detailCellRenderer_1.DetailCellRenderer {
|
|
|
44
44
|
const agGridModules = core_1.ModuleRegistry.getRegisteredModules();
|
|
45
45
|
this.adaptableApi = await Adaptable_1.Adaptable.init(Object.assign(Object.assign({ adaptableId: `${masterAdaptable.adaptableOptions.adaptableId} Detail` }, detailAdaptableOptions), { predefinedConfig: Object.assign(Object.assign({}, predefinedConfig), { Dashboard: Object.assign({ IsCollapsed: true }, predefinedConfig.Dashboard) }), containerOptions: Object.assign(Object.assign({}, detailAdaptableOptions.containerOptions), { adaptableContainer: adaptableContainerId, agGridContainer: eDetailGrid }), gridOptions: detailGridOptions }), { agGridModules });
|
|
46
46
|
if (onDetailInit) {
|
|
47
|
-
|
|
47
|
+
const context = { adaptableApi: this.adaptableApi };
|
|
48
|
+
onDetailInit(context);
|
|
48
49
|
}
|
|
49
50
|
};
|
|
50
51
|
super.init(params);
|