A generic table for Angular 2+. Generic table uses standard markup for tables ie. table, tr and td elements etc. and has support for expanding rows, global search, filters, sorting, pagination, export to CSV, column clicks, custom column rendering, custom export values.
I am facing this same issue as well, we are getting $$gtInitialRowIndex as the event for 3rd click,
Expected: accNo -> -accNo -> accNo
Actual : accNo -> -accNo -> $$gtInitialRowIndex
Shouldn't this be an option rather than being forced ?
Hello, my code is below:
`
Hesaplar listeleniyor...
And i enabled sorting for this column:
{ objectKey: 'accNo', sort: 'enable', columnOrder: 1 },
When I click on column, I console log the $event:
It seems like something happening but no change in my table.
I'm doing something wrong but don't know the reason. Thanks.
It might be the format of your data, is
accNo
a string or number? Can you reproduce it in stackblitz?I am facing this same issue as well, we are getting $$gtInitialRowIndex as the event for 3rd click, Expected: accNo -> -accNo -> accNo Actual : accNo -> -accNo -> $$gtInitialRowIndex
Shouldn't this be an option rather than being forced ?
@Liahus3003 check #250, since 4.16 it’s possible to configure the sorting behavior using
allowUnsorted
option.