Proxy for datagrid htmlwidget
Usage
datagrid_proxy(shinyId, session = shiny::getDefaultReactiveDomain())
See also
Other datagrid proxy methods:
grid_proxy_add_row()
,
grid_proxy_delete_row()
Examples
if (FALSE) { # \dontrun{
# Consider having created a datagrid widget with
datagridOutput("my_grid") # UI
output$my_grid <- renderDatagrid({}) # Server
# Then you can call proxy methods in observer:
# set datagrid proxy then call a cal_proxy_* function
datagrid_proxy("my_grid") %>%
datagrid_proxy_addrow(mydata)
# or directly
datagrid_proxy_addrow("my_grid", mydata)
} # }