render_dt2: Shiny render function for DT2

View source: R/dt2_shiny.R

render_dt2R Documentation

Shiny render function for DT2

Description

Render a DT2 table in a Shiny server function.

Usage

render_dt2(expr, env = parent.frame(), quoted = FALSE)

Arguments

expr

Expression returning a dt2() widget.

env, quoted

Standard shinyRenderWidget arguments.

Value

A Shiny render function (closure produced by htmlwidgets::shinyRenderWidget()) that emits a DT2 widget.


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