Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add filter bigger than smaller than function for column #13

Open
partizanos opened this issue May 7, 2017 · 1 comment
Open

add filter bigger than smaller than function for column #13

partizanos opened this issue May 7, 2017 · 1 comment

Comments

@partizanos
Copy link

Greetings, I am trying to introduce for two collumns a bigger, smaller than comparator and filter according to that

eg. on numeric Input 1 on the serch element a list :

<ul>
<li> > 1 </li>
<li> > 1 </li>
</ul> 

to appear and on click to sort appropritely
Could you advice me on which api method to work on for something like that or what should be the steps to add a mechanism for something like that?

A small issue I had before with plain js solution when multiple collumns use this feature is the memory mechanism and "save" the choice when other collumn is searched.

Thanks in advance

@bebraw
Copy link
Member

bebraw commented May 8, 2017

The current APIs were designed text search in mind.

It's somewhat likely you'll need to expand the setup to support your use case to inject that logic. Possibly a custom search strategy would work and I can accept a PR for that. That still leaves the problem of UI which you likely have to solve too.

@bebraw bebraw changed the title add filter bigger than smaller than function for collumn add filter bigger than smaller than function for column May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants