1
我只想在列名或數字中搜索,目前我只在列名中搜索。在特定的多個表達式中過濾angular js
<input type="text" ng-model="test.name" placeholder="start typing..">
我的表情,
<tr ng-repeat="x in names | filter:test | limitTo:totalDisplayed">
<td>{{ x.name }}</td>
<td>{{ x.number}}</td>
<td>{{ x.city }}</td>
<td>{{ x.country }}</td>
</tr>
這是什麼意思。更具體?切換您搜索或匹配任一列的列?如果是後者,則需要自定義過濾器 – charlietfl