
<!-- Changed and added by Sainath T. on 04-03-2020 -Start -->
<div  class = "dynamicTable" *ngIf="isContext" >
<!-- <dynamic-template  [template]="tableHtml" [context]="jsonData" ></dynamic-template>  -->
    <div class="headerDiv1" id="resultDiv"  style="width: 100%; height:100%; font-size: 14px;"> 
        <table width="100%" class="tableClass" id="resultTable">
        <thead>
            <tr class="detailtr" align="center">
            <ng-container *ngIf="context">
            <th class="thClass" style="text-align: center;" *ngFor="let col of context['cols']">
                {{col}}
            </th>
            </ng-container>
            </tr>
        </thead>
        <tbody>
            <ng-container *ngIf="context.rows">
            <tr *ngFor="let row of context.rows" class="detailtr" height="25px">
            <td *ngFor="let rData of row; index as idx" class="tdClass {{context.colStyle[idx]}}">
            <ng-container *ngIf="rData.indexOf('ERROR')!= -1 || rData.indexOf('Exception')!= -1 || rData.indexOf('EXCEPTION') != -1; else elseif1">
            <span class='color_er'>{{rData}} </span>  
            </ng-container>
            <ng-template #elseif1>
            <ng-container *ngIf="rData.indexOf('SUCCESS') != -1; else else1">
            
            <span class='color_suc'>{{rData}} </span>  
            </ng-container>
            </ng-template>
            <ng-template #else1>
                {{rData}}
            </ng-template>
            
            </td>
            </tr>
            </ng-container>
        </tbody>
        </table>
    </div>  
</div>
<!-- Changed and added by Sainath T. on 04-03-2020 -End -->

