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.
Table info (paging, recordsAll, recordsAfterSearch, recordsAfterFilter) should be filled from server response when lazy loading is enabled. Regardless of "Totals" rows presence.
Current Behavior
When gtTotals is defined, gtInfo's propreties recordsAll, recordsAfterSearch, recordsAfterFilter are wrong and equal to pageTotal.
Expected Behavior
Table info (paging, recordsAll, recordsAfterSearch, recordsAfterFilter) should be filled from server response when lazy loading is enabled. Regardless of "Totals" rows presence.
Current Behavior
When gtTotals is defined, gtInfo's propreties recordsAll, recordsAfterSearch, recordsAfterFilter are wrong and equal to pageTotal.
Possible Solution
Don't use filter and search pipes in totals row if lazy loading is enabled in options. Here, for example: https://github.com/hjalmers/angular-generic-table/blob/master/%40angular-generic-table/core/components/generic-table.component.ts#L46
Steps to Reproduce