@cdmx/wappler_ag_grid 0.0.5 → 0.0.7
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/dmx-ag-grid.js +2 -2
- package/package.json +1 -1
package/dmx-ag-grid.js
CHANGED
|
@@ -106,7 +106,7 @@ dmx.Component('ag-grid', {
|
|
|
106
106
|
let exportToCSV = this.props.exportToCSV;
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
this.$node.innerHTML = `<div id=${gridId
|
|
109
|
+
this.$node.innerHTML = `<div id=${gridId}-grid class="ag-theme-alpine"></div>`;
|
|
110
110
|
if (!rowData || rowData.length === 0) {
|
|
111
111
|
console.error('No row data provided.');
|
|
112
112
|
return;
|
|
@@ -355,7 +355,7 @@ const cstyles = this.props.cstyles
|
|
|
355
355
|
localeText: this.props.localeText
|
|
356
356
|
};
|
|
357
357
|
|
|
358
|
-
const gridDiv = document.
|
|
358
|
+
const gridDiv = document.getElementById(gridId+'-grid');
|
|
359
359
|
|
|
360
360
|
if (!gridDiv) {
|
|
361
361
|
console.error(`Grid container element with ID '${gridId}' not found.`);
|