Below is my code <table class="table table-hover" id="orderTbl" [ngClass]="{'maxZeroHeight':maxZeroHeight}> Is it possible to use like above or is there a different way Continue reading...