Without writing JS, can some columns be dynamically hidden?
Yes, use Buttons extension and colvis button, see this example.
colvis
See more articles about jQuery DataTables on gyrocode.com.
I create a checkgroupbox in Shiny App. Based on the user input, the columns associated will be dynamically show/hide? Is there a way to do it?
Yes, using the columns().visible() method. You can't do it without writing Javascript though - DataTables is a Javascript library...
columns().visible()
Allan
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Yes, use Buttons extension and
colvis
button, see this example.See more articles about jQuery DataTables on gyrocode.com.
I create a checkgroupbox in Shiny App. Based on the user input, the columns associated will be dynamically show/hide? Is there a way to do it?
Yes, using the
columns().visible()
method. You can't do it without writing Javascript though - DataTables is a Javascript library...Allan