Shiny + real-time checkboxes


#1

Hello there, I am a relatively new user but I was able to get a basic form working with MySQL. The next step is to have the ability to select/deselect some results based on checkboxes. There are a million examples out there, but I am shooting for something like the way NewEgg lets you choose vendors and other options, e.g.: https://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&Description=1060&N=-1&isNodeId=1

Is there an easy way to do this in Shiny or will I have to do a lot of JavaScript/Ajax hand-hacking to make this work?

Thanks


#2

Here’s a somewhat similar example you could adapt:

You’d have to change the selectInputs to checkboxGroupInput (and updateSelectInput to updateCheckboxGroupInput) and change the UI to move the filter controls to the sidebar, but a lot of the core logic would stay the same I think.


#3

Excellent, thanks for the suggestion.