datagrid_proxy {toastui} | R Documentation |
Proxy for datagrid htmlwidget
Description
Proxy for datagrid htmlwidget
Usage
datagrid_proxy(shinyId, session = shiny::getDefaultReactiveDomain())
Arguments
shinyId |
single-element character vector indicating the output ID of the chart to modify (if invoked from a Shiny module, the namespace will be added automatically). |
session |
the Shiny session object to which the chart belongs; usually the default value will suffice. |
Value
A datagrid_proxy
object.
See Also
Other datagrid proxy methods:
grid_proxy_add_row()
,
grid_proxy_delete_row()
Examples
## Not run:
# 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)
## End(Not run)
[Package toastui version 0.3.3 Index]