0
sophoana created
1 Answer(s)
-
0
Hi,
If you can find lastIndex of an item in rowGroup body, you can include another tr. What I mean is something like this;
<ng-template pTemplate="body" let-rowData let-rowIndex="rowIndex"> <tr class="ui-widget-header" *ngIf="rowGroupMetadata[rowData.brand].index === rowIndex"> <td colspan="3"> <span style="font-weight:bold">{{rowData.brand}}</span> </td> </tr> <tr> <td>{{rowData.vin}}</td> <td>{{rowData.year}}</td> <td>{{rowData.color}}</td> </tr> <tr *ngIf="{LAST_ROW_CHECK_CONDITION}"> <td colspan="3">{{rowData.vin}}</td> </tr> </ng-template>