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

New features #22

Open
realnot opened this issue Jul 16, 2020 · 1 comment
Open

New features #22

realnot opened this issue Jul 16, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@realnot
Copy link

realnot commented Jul 16, 2020

In future will be added features like server side filtering and pagination? Usually filters and pagination are parameters of query string that must be keep in sync with interface so when component is rendered filters are generated from the params of query string and so on the pagination.

Another cool features could be a set of predefined filters based on data type. For example for dates a filter that allow operators such as >, =, < to filter between a range of dates or a specific date. Another filter maybe for boolean fields or char fields (also the possibility to use a choices / drop down menu to select values for filter data with all the possible choices

Do you think there will be support for features like this in feature?

@tochoromero tochoromero added the enhancement New feature or request label Dec 23, 2020
@tochoromero
Copy link
Owner

Adding server-side filtering and pagination is on my TODO list. I hope I have time this holiday to add them.

I'm more hesitant about adding predefined filters based on the data type, mainly because we do have custom sorting functions so you can do that already. Maybe providing some util functions for common sorting would be the way to go, that way you can choose to use any of them as your custom sorting.

As for supporting dropdowns, I think this should be done in userland, we have a slot for the Header so you can replace the Header with a dropdown and use the API we already provide for filtering with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants