服务器端ng表过滤 [英] Server side ng-table filtering
问题描述
我看到有些人在不使用
Hi,
I've seen some people does ng-repeat filtering without using
| filter : expression
<input type="text" ng-model="search.name">
<input type="text" ng-model="search.createdBy">
instead of this
<tr ng-repeat="i in sample | filter:search>
they do this
<tr ng-repeat="item in $data">
但他们仍然能够根据2搜索输入过滤表格。
如何进行服务器端过滤需要一些帮助?一些简单的例子将不胜感激。
谢谢。
我的尝试:
我试过寻找服务器端ng-table过滤,但我找不到具体的例子。
我发现了这个,
http:/ /nadeemkhedr.com/build-angularjs-grid-with-server-side-paging-sorting-filtering/
但是我仍然不明白,希望有一个具体的例子只是过滤输入,不需要排序或分页。
however they are still able to filter the table base on the 2 search input.
Would need some help regarding how do I do server side filtering? some simple example will be appreciated.
Thanks.
What I have tried:
I've tried looking for server side ng-table filtering, but i couldn't find specific example regarding this.
I found this,
http://nadeemkhedr.com/build-angularjs-grid-with-server-side-paging-sorting-filtering/
however I still don't understand, would love to have a specific example just on filtering input, don't need sorting or pagination.
推荐答案
数据 >
但是他们仍然能够在2个搜索输入上过滤表格。
如何进行服务器端过滤需要一些帮助?一些简单的例子将不胜感激。
谢谢。
我尝试了什么:
我试过寻找服务器端ng-table过滤,但我找不到关于这一点的具体例子。
我发现了这个,
http://nadeemkhedr.com/build-angularjs-grid-with-server-side-paging-sorting-filtering/
但是我仍然不明白,希望有一个特定的例子只是过滤输入,不需要排序或分页。
however they are still able to filter the table base on the 2 search input.
Would need some help regarding how do I do server side filtering? some simple example will be appreciated.
Thanks.
What I have tried:
I've tried looking for server side ng-table filtering, but i couldn't find specific example regarding this.
I found this,
http://nadeemkhedr.com/build-angularjs-grid-with-server-side-paging-sorting-filtering/
however I still don't understand, would love to have a specific example just on filtering input, don't need sorting or pagination.
这篇关于服务器端ng表过滤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!