I am using angular 9, using igx grid, trying to some custom function inside sorting event but its not firing, not only sorting any other event like cell edit.
I am using like below.
<igx-grid #grid1 [data]="localData" width="100%" (onsortingDone)="handleSortingDone(event)" [autoGenerate]="false">
<igx-column width="60px" field="clientId" header=" "> <ng-template igxCell let-cell="cell" style="width: 40px!important;margin-top:-10px"> <img src='../../../assets/images/avtar-table-image.png' /> </ng-template> </igx-column>....
Please let me any other information required.
Hello,
After an investigation, I have determined that the name of the event is ‘onSortingDone’ and not ‘onsortingDone’ and if the name is incorrect the method would not be called. Binding a method to the event should look as follows:
<igx-grid #grid1 [data]="localData" width="100%" (onSortingDone)="handleSortingDone($event)" [autoGenerate]="false">
However, please keep in mind that support is applicable to two versions back - latest stable, and the previous major version, which means that version 9 is considered retired and is no longer eligible for Developer Support Services.
Additionally, since version 12.0 the event is renamed from ‘onSortingDone’ to ‘sortingDone’.
Please let me know if you need any further information regarding this matter.
Regards,Monika Kirkova,Infragistics
Thanks ,
can you please provide the igx-angular documentation link for angular 9.
Every where I have seen the examples for angular 18.
This is a link for the API documentation for version 9.0.20.
However, as I have said in my previous response, please keep in mind that version 9 is considered retired and is no longer eligible for Developer Support Services.
Regards, Monika Kirkova, Infragistics
Information regarding the remote sorting of the igx-grid could be found in the following topic of our documentation. A demo demonstrating the remote sorting could be found in this section of the topic.
Please take a look at the topic and the sample and let me know if you need any further information regarding this matter.