@cdmx/wappler_ag_grid 1.8.8 → 1.8.9
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 +5 -4
- package/package.json +1 -1
package/dmx-ag-grid.js
CHANGED
|
@@ -1592,6 +1592,11 @@ dmx.Component('ag-grid', {
|
|
|
1592
1592
|
},
|
|
1593
1593
|
onGridReady: (params) => {
|
|
1594
1594
|
const columnApi = params.api;
|
|
1595
|
+
if (options.loading_overlay) {
|
|
1596
|
+
setTimeout(() => {
|
|
1597
|
+
columnApi.setGridOption("loading", false)
|
|
1598
|
+
}, options.loading_overlay_duration);
|
|
1599
|
+
}
|
|
1595
1600
|
if (options.csort && options.csort.length > 0) {
|
|
1596
1601
|
let sortModel = options.csort.map(function(sortItem, index) {
|
|
1597
1602
|
return {
|
|
@@ -1764,11 +1769,7 @@ dmx.Component('ag-grid', {
|
|
|
1764
1769
|
gridInstance.setGridOption('rowData', rowData)
|
|
1765
1770
|
if (options.loading_overlay) {
|
|
1766
1771
|
gridInstance.setGridOption("loading", true)
|
|
1767
|
-
setTimeout(() => {
|
|
1768
|
-
gridInstance.hideOverlay()
|
|
1769
|
-
}, options.loading_overlay_duration);
|
|
1770
1772
|
}
|
|
1771
|
-
|
|
1772
1773
|
if (options.cfilters && options.cfilters.length > 0) {
|
|
1773
1774
|
var filterModel = {};
|
|
1774
1775
|
const customFilters = options.cfilters
|