How to use ngCLass for generic table ?
I am trying to add ngClass so i can change color of the row based on value,does yuor library provide this feature so i can change row colors conditionally ?
<generic-table [gtClasses]="'table-hover'" #myCustomTable [gtSettings]="secondConfigObject.settings" [ngClass]="{isClassvisible === true}" [gtFields]="secondConfigObject.fields" [gtData]="secondConfigObject.data" (gtEvent)="trigger($event)" [gtOptions]="{ rowSelection:true}"></generic-table>
https://github.com/hjalmers/angular-generic-table/issues/102#issuecomment-358384547
Please refer to this your issue should be resolved
@Syedgit if you need conditional styling for the rows based on some value in your data take a look at this example.