I have an issue with the Angular Slickgrid library, To modify the sorting button function I need to use the onAngularGridCreated event, (which, I assume) return the instance of my grid. But when I add the following line to my angular-slickgrid element:
<angular-slickgrid gridId="{{this.gridData.id}}"
[columnDefinitions]="columnDefinitions"
[gridOptions]="gridOptions"
[dataset]="dataset"
(onAngularGridCreated)="angularGridReady($event.detail)"
>
</angular-slickgrid>
I get this error:
Event onAngularGridCreated is not emitted by any applicable directives nor by angular-slickgrid element
Even when looking at the Documentation I cannot figure out how to make it work.
Here is my import of angular-slick grid in app-modules:
imports: [
...
AngularSlickgridModule.forRoot({
locales: localeFrench
})
],
Angular-Slickgrid-Demosand look at its code, the issue is most probably somewhere in your code not the lib. TheAngular-Slickgrid-Demosgets updated on every new release so that I know the lib is working as expected. Also note that the Wiki are written for the latest version of the lib and Angular, if you use older versions then it might be differentonAngularGridCreatedis no longer an Event Emitter but a Custom Event (since version 3), you can see in the migration to 3, I need to remove Event Emitter from all Wikis. Also as per your comment, I need full repro stackblitz