I had a similar problem and after some trial and error I found that it was because I had set [modules]="AllModules"
on my grid instance. I was importing AllModules from enterprise and I think that caused an issue; I am guessing the enterprise version is missing getNodeChildDetailsFunc
which community presumably has. I am using angular but I don't believe that matters in this case.
Configuration with the issue:
// typescript
import { AllModules } from '@ag-grid-enterprise/all-modules';
<!-- Corresponding HTML -->
<ag-grid-angular
(gridReady)="onGridReady($event)"
(selectionChanged)="onSelectionChanged($event)"
[gridOptions]="gridOptions"
[modules]="AllModules">
</ag-grid-angular>
Configuration that worked:
<ag-grid-angular
(gridReady)="onGridReady($event)"
(selectionChanged)="onSelectionChanged($event)"
[gridOptions]="gridOptions">
</ag-grid-angular>