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

FIlter rows multiple times #43

Open
ShinyFabio opened this issue Feb 10, 2022 · 0 comments
Open

FIlter rows multiple times #43

ShinyFabio opened this issue Feb 10, 2022 · 0 comments

Comments

@ShinyFabio
Copy link

Hi,
I use your package inside a shinyApp but the problem exists also with the data_edit() function so I'll write an example based on that function.

So after launched the function with my data, I have a problem with the filtering on rows. What I did is applying a filter on rows (i.e. EXP_ID equal to 101) and then clicking on the Close button. Everything works fine. Now imagine that I made a mistake and I want to change the filtered EXP_ID to 105. So I open again the filter module, and inside "Levels" 101 is still there. I click on the levels but I can't see the other levels of my original data (even if I remove 101). I think the problem is that the choices of the levels selectInput is based on the edited data.
However I've found a workaround: I changed the column (instead of EXP_ID I put something else) so the levels resets, then I select again the EXP_ID column and now I can choose again between all the levels. I don't know why I have to do this, but it works though is not an elegant solution especially in a ShinyApp.

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

1 participant