esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

does not reload filter data in NgTableParams #1006

Open gaurav2086 opened 7 years ago

gaurav2086 commented 7 years ago

hi I am using ng-table and need to put a drop down country filter inside grid.

{{policy.country}}

I have check in my console list of countries are there in countries object but not showing on grid.

scottux commented 7 years ago

Can you paste a code sample of what you are trying? I had an issue at first where I was using i.e. ['foo', 'bar'] and that wasn't working, so I had to do [{id: 1, title: 'foo'}, {id: 2, title: 'bar'}]. You may be experiencing the same.

gaurav2086 commented 7 years ago

Thanks scott [{id: 1, title: 'foo'}, {id: 2, title: 'bar'}] work for me