View source: R/dt2_server_processing.R
| dt2_bind_server | R Documentation |
Bind a DataTables v2 server-side endpoint to a widget id
dt2_bind_server(
id,
data,
session = shiny::getDefaultReactiveDomain(),
handler = NULL
)
id |
Output id of the widget (e.g., "tbl"). |
data |
A data.frame with the source data. |
session |
Shiny session (default: current). |
handler |
Optional custom handler function(data, req) -> list(...). |
No return value, called for side effects. Registers a Shiny
observer on session that responds to client-side server-processing
requests for the given widget id.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.