Click here to Skip to main content
15,915,800 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,
I've seen some people does ng-repeat filtering without using
C#
| filter : expression


HTML
<input type="text" ng-model="search.name">
<input type="text" ng-model="search.createdBy">


JavaScript
instead of this
<tr ng-repeat="i in sample | filter:search>
they do this
<tr ng-repeat="item in $data">


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.
Posted
Updated 12-Jun-16 22:50pm
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900