w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to build a table with ng-repeat with mixed number of columns for row?

You can use ng-repeat-start and ng-repeat-end.

      <tr ng-repeat-start="paycheck in paychecks">
        <td colspan="9" ng-if="paycheck.payDate.year >
paychecks[$index-1].payDate.year">  {{paycheck.payDate.year}}</td>
      <tr ng-repeat-end>


© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.