Toggles button on and off based on whether any row is selected in a table.

observe_download_buttons(ns, any_row_selected)

observe_deselect_buttons(ns, any_row_selected)

Arguments

ns

[function(1)]
Namespace-generating function that takes single string as the only argument.

any_row_selected

[reactive(logical(1))]
A reactive value telling whether any row is selected in a table.