html - Adding columns to table depending on input number in angular js -
i have tried
   <div class="row">  <table border='2'>  <tr>  <th ng-repeat="o in callarr">{{o.callarr}}</th>  </tr>   //html table <td ng-repeat="x in makecall() track $index">this column #{{$index + 1}}</td> </tr> <table>    i want draw table in angularjs specified number of columns given in text box..suppose input 6,6 columns should automaticaly drawn table....number of rows fixed..plz me..
this should started:
<element ng-repeat="x in range(numcols) track $index">this column #{{$index + 1}}</element>      
Comments
Post a Comment