@adaptabletools/adaptable 18.0.10 → 18.0.11

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",
3
- "version": "18.0.10",
3
+ "version": "18.0.11",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -1789,7 +1789,12 @@ export class AdaptableAgGrid {
1789
1789
  const agGridApi = gridApi || this.agGridAdapter.getAgGridApi();
1790
1790
  let result;
1791
1791
  if (!this.hasAutogeneratedPrimaryKey) {
1792
- result = agGridApi.getCellValue({ colKey: this.adaptableOptions.primaryKey, rowNode });
1792
+ // support both AG Grid pre & post v31.3.x
1793
+ // TODO remove this with the next major Adaptable version
1794
+ result =
1795
+ typeof agGridApi.getCellValue === 'function'
1796
+ ? agGridApi.getCellValue({ colKey: this.adaptableOptions.primaryKey, rowNode })
1797
+ : agGridApi.getValue(this.adaptableOptions.primaryKey, rowNode);
1793
1798
  }
1794
1799
  if (result == undefined && rowNode.data) {
1795
1800
  result = rowNode.data[this.adaptableOptions.primaryKey];
package/src/env.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
3
- PUBLISH_TIMESTAMP: 1715954480588 || Date.now(),
4
- VERSION: "18.0.10" || '--current-version--',
3
+ PUBLISH_TIMESTAMP: 1716176906473 || Date.now(),
4
+ VERSION: "18.0.11" || '--current-version--',
5
5
  };