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

Adding a filter section #1252

Open
Joykareko opened this issue Oct 8, 2021 · 10 comments
Open

Adding a filter section #1252

Joykareko opened this issue Oct 8, 2021 · 10 comments

Comments

@Joykareko
Copy link

Joykareko commented Oct 8, 2021

Can we add a filter section to the list, so we can easily filter by #worldwide or #USA or whichever instead of scrolling down to the full list?

@dougaitken
Copy link
Member

Great idea, filtering is something I'd love to have help with.

That said, the search field will work for region term.

@GabrielModog
Copy link

GabrielModog commented Oct 24, 2021

I like to implement that. But we have to decide where the filter input will be shown.

@dougaitken
Copy link
Member

What thoughts do you have @GabrielModog - I'm open to ideas.

@GabrielModog
Copy link

Currently we can search by company. My idea is add another filter below this one.

image

@dougaitken
Copy link
Member

How do you think this would be populated @GabrielModog? I ask as the region is fairly standardized but there are some edge-cases with single country or some timezones.

Would your filter parse the list and offer the existing entries as filter options or would you provide a smaller specific set?

@GabrielModog
Copy link

I don't know if a get it what you trying to say...

So I was thinking rewrite the current filter code to make reusable as possible to maybe add others filters in the future.

For now I thought to make a radio button to switch the type of filter (by company or country). When I made some test by adding a new input don't look so nice. So to me the solution is a radio button to switch the type of filter.

@dougaitken
Copy link
Member

@GabrielModog Can you open a PR with what you have? It'll generate a preview URL so I can take a look.

This is a tricky scenario so I appreciate any ideas people have 😀

@kb-s
Copy link

kb-s commented May 23, 2022

@Joykareko what I'm thinking we can do this by a formula.

COUNTIF(range, criteria)

eg. COUNTIF(tblFilterList[FilterList],[@Country])=1

"Tell me if i'm wrong", Thanks.

@dougaitken
Copy link
Member

@kb-s Thanks for the comment, your solution is intended for a spreadsheet, that isn't how the data is stored here.

@kb-s
Copy link

kb-s commented Jun 13, 2022

@dougaitken Thanks for the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants