fix: allow extraConfig for agGrid to set onGridReady

This commit is contained in:
Ruben Fiszel
2023-12-27 21:20:49 +01:00
parent 3d1f707f36
commit 74fc2d3f43
2 changed files with 2 additions and 1 deletions
@@ -171,9 +171,11 @@
}
}
api = e.api
resolvedConfig?.extraConfig?.['onGridReady']?.(e)
},
onSelectionChanged: (e) => {
onSelectionChanged(e.api)
resolvedConfig?.extraConfig?.['onSelectionChanged']?.(e)
},
getRowId: (data) => data.data['__index']
},
@@ -11,7 +11,6 @@
const { LicenseManager } = await import('ag-grid-enterprise')
let details = LicenseManager.getLicenseDetails(key)
console.log(details)
valid = details.valid
} catch (e) {
console.error(e)