lorenzofox3 / Smart-Table

Code source of Smart Table module: a table/grid for Angularjs

Home Page:http://lorenzofox3.github.io/smart-table-website/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom filtering on single column

galdil opened this issue · comments

Hi, I read many of the "custom filtering" issues but I still don't quite understand it.
Let's say I have a table | id | name | rate | environments |
| 1 | test | 3 | {OS, Desktop} |

I want to filter the table in a way that the name and id will remain the stsearch normal filter, the rate will be an input that will filter all the entities with a rate less than the rate in the input.
And the environments will be checkbox selection that if I check OS for example it will show me all the entities that includes OS in their environments.

I tried to do some custom filtering but I had some problems with the pagination.
I also tried to do a plug in but I didn't understand how to make for example the rate filter (all the rate less than the rate in the input)

Thanks

Ok I got this, thanks