dt2_bind_server: Bind a DataTables v2 server-side endpoint to a widget id

View source: R/dt2_server_processing.R

dt2_bind_serverR Documentation

Bind a DataTables v2 server-side endpoint to a widget id

Description

Bind a DataTables v2 server-side endpoint to a widget id

Usage

dt2_bind_server(
  id,
  data,
  session = shiny::getDefaultReactiveDomain(),
  handler = NULL
)

Arguments

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(...).

Value

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.


DT2 documentation built on June 14, 2026, 9:06 a.m.