@adaptabletools/adaptable-plugin-openfin 11.0.0-canary.6 → 11.0.1
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-openfin",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "http://www.adaptabletools.com/",
|
|
6
6
|
"author": {
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"redux": "4.0.5",
|
|
21
21
|
"styled-components": "^4.4.1",
|
|
22
22
|
"tslib": "^2.0.0",
|
|
23
|
-
"@adaptabletools/adaptable": "11.0.
|
|
23
|
+
"@adaptabletools/adaptable": "11.0.1"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -177,6 +177,9 @@ class OpenFinModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
177
177
|
if (this.api.columnApi.getColumnFromId(columnId).readOnly) {
|
|
178
178
|
logger_1.LogAdaptableWarning(`Can't update column ${columnId} as it is read-only`);
|
|
179
179
|
}
|
|
180
|
+
else if (!this.adaptable.isCellEditable(rowNode, this.adaptable.api.columnApi.getAgGridColumnForAdaptableColumn(columnId))) {
|
|
181
|
+
logger_1.LogAdaptableWarning(`Can't update column cell in ${columnId} as it is read-only`);
|
|
182
|
+
}
|
|
180
183
|
else {
|
|
181
184
|
const dataChangedInfo = this.api.internalApi.buildDataChangedInfo({
|
|
182
185
|
oldValue: rowNode.data[columnId],
|
|
@@ -271,7 +274,7 @@ class OpenFinModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
271
274
|
}
|
|
272
275
|
return;
|
|
273
276
|
}
|
|
274
|
-
this.api.gridApi.setCellValue(columnId, value, primaryKey
|
|
277
|
+
this.api.gridApi.setCellValue(columnId, value, primaryKey);
|
|
275
278
|
}
|
|
276
279
|
}
|
|
277
280
|
});
|