Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Igx grid Angular sorting,edit or any other events or not firing.
posted

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.

Parents
  • 1320
    Offline posted

    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

  • 1320
    Offline posted in reply to soujanya sunkara

    Hello,

    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.

    Please let me know if you need any further information regarding this matter.

    Regards,
    Monika Kirkova,
    Infragistics

Reply Children
No Data