我在AngularJS中遇到fooTable的问题,这就是我正在做的事情:
<table class="table m-b-none" ui-jq="footable" data-filter="#filter" data-page-size="5">
<thead>
<tr>
<th data-toggle="true">Name</th>
<th data-hide="phone">Logo</th>
<th data-hide="phone,tablet">Website</th>
<th data-hide="phone,tablet" data-name="Friendly URL">URL</th>
<th data-hide="all">External Parameter 1</th>
<th data-hide="all">External Parameter 2</th>
<th data-hide="all">Meta Keywords</th>
<th data-hide="all">Meta Description</th>
<th data-hide="all">Period</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="store in stores">
<td>{{store.name}}</td>
<td><img ng-src="{{store.logo}}" /></td>
<td>{{store.website}}</td>
<td>{{store.friendly_url}}</td>
<td>{{store.external_parameter1}}</td>
<td>{{store.external_parameter2}}</td>
<td>{{store.meta_keywords}}</td>
<td>{{store.meta_description}}</td>
<td>{{store.period}}</td>
<td data-value="1">
<!--Edit Button-->
<a type="button" class="btn btn-xs btn-default" ui-sref="app.store.edit({editId: store.id})">
<i class="fa fa-pencil"></i>
</a>
<!--Delete Button-->
<a type="button" class="btn btn-xs btn-default" …Run Code Online (Sandbox Code Playgroud)