AngularJS在URL中显示表分页

时间:2018-10-03 08:16:29

标签: javascript html angularjs

是否可以在url中显示html表的分页?如果有人可以教或给我一个链接来学习它,将不胜感激。似乎在任何地方都找不到。谢谢!

表格代码:

      <div id="btnDLContainer">

        <button onclick="exportTableToExcel('tableToCsv')" type="button contact-button" class="btnDL">XLSX Download</button>
        <button export-to-csv class="btnDL">CSV Download</button>
        <table ng-show="auditoriums === 'none'">

                <tr> <th> Name </th> <th> Address Block No. </th> <th> Postal Code </th> <th> Street Name </th> </tr>

                <tr ng-repeat="audit in auditoriums| limitTo: 1 - auditoriums.length">
                  <td>{{audit.NAME}}</td>
                  <td>{{audit.ADDRESSBLOCKHOUSENUMBER}}</td>
                  <td>{{audit.ADDRESSPOSTALCODE}}</td>
                  <td>{{audit.ADDRESSSTREETNAME}}</td>
                </tr>

        </table>
      </div>

0 个答案:

没有答案