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

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -