@adaptabletools/adaptable-plugin-master-detail-aggrid-cjs 20.0.0-canary.8 → 20.0.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/README.md CHANGED
@@ -4,7 +4,7 @@ Version 7 of AdapTable introduced support for using Master-Detail grids in AG Gr
4
4
 
5
5
  It allows you to create a definition for the Detail grid which will apply for all detail grids.
6
6
 
7
- This means that if you create a Format Column in Predefined Config it will apply in each detail grid.
7
+ This means that if you create a Format Column in Initial Adaptable State it will apply in each detail grid.
8
8
 
9
9
  ## How It Works
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-plugin-master-detail-aggrid-cjs",
3
- "version": "20.0.0-canary.8",
3
+ "version": "20.0.0",
4
4
  "description": "",
5
5
  "homepage": "http://www.adaptabletools.com/",
6
6
  "author": {
@@ -29,7 +29,7 @@ class DetailCellRenderer {
29
29
  adaptableContainer.id = adaptableContainerId;
30
30
  // Attach Adaptable
31
31
  this.eGui.prepend(adaptableContainer);
32
- const predefinedConfig = detailAdaptableOptions.predefinedConfig;
32
+ const initialState = detailAdaptableOptions.initialState;
33
33
  // AG Grid modules are already registered
34
34
  const agGridModules = masterAdaptable.getAgGridRegisteredModules();
35
35
  this.adaptableApi = await AdaptableAgGrid_1.AdaptableAgGrid._initInternal({
@@ -38,11 +38,11 @@ class DetailCellRenderer {
38
38
  // provide adaptableId just in case, but normally it should be provided by the user in detailAdaptableOptions
39
39
  adaptableId: `${masterAdaptable.adaptableOptions.adaptableId} Detail`,
40
40
  ...detailAdaptableOptions,
41
- predefinedConfig: {
42
- ...predefinedConfig,
41
+ initialState: {
42
+ ...initialState,
43
43
  Dashboard: {
44
44
  IsCollapsed: true,
45
- ...predefinedConfig.Dashboard,
45
+ ...initialState.Dashboard,
46
46
  },
47
47
  },
48
48
  containerOptions: {