hjalmers / angular-generic-table

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.

Home Page:https://hjalmers.github.io/angular-generic-table/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rowClass fieldsoption does not get applied when lazyLoad config option = true

brampeirs opened this issue · comments

$$gtRowClass does not exist in the tabledata when lazy load = true

The gtRowClass pipe does not get applied here (when layload = true):

[ngForOf]="gtOptions.lazyLoad && gtInfo ? (gtData[gtInfo.pageCurrent-1]) : (gtData | gtFilter:gtInfo.filter:gtInfo:refreshFilter:gtData.length | gtSearch:gtInfo.searchTerms:gtInfo:gtSettings:gtFields:gtData.length | gtOrderBy:sortOrder:gtFields:refreshSorting:gtData.length | gtChunk:gtInfo:gtInfo.recordLength:gtInfo.pageCurrent:refreshPageArray:gtData.length:gtEvent:data | gtRowClass:gtFields)">

First of all sorry for the late reply, secondly thanks for creating an issue for this. I’ll see if I’ll be able to push a fix soon otherwise feel free to submit a pull request:)

Hello, any solution for this bug?