unbind_dt: Unbind Shiny Inputs (server function) When generating inputs...

Description Usage Arguments Value Examples

View source: R/unbind_dt.R

Description

Unbind Shiny Inputs (server function) When generating inputs reactively, it's sometimes necessary to unbind old inputs so that you can use the updated inputs in Shiny. 'unbind_dt_js() adds the JS to the UI, while unbind_dt() is called as needed in the server component (usually as part of an observeEvent or eventReactive)

Usage

1
unbind_dt(dt_name, session = session)

Arguments

dt_name

String representing the table's output ID (i.e. to unbind in output$table_alpha, use "table_alpha" as the parameter)

Value

a call to the JS that unbinds dt_name

Examples

1
unbind_dt('player_table')

tanho63/tanmisc documentation built on Aug. 9, 2021, 5:26 p.m.