dt2_output: Shiny output for DT2

View source: R/dt2_shiny.R

dt2_outputR Documentation

Shiny output for DT2

Description

Place a DT2 table in a Shiny UI.

Usage

dt2_output(outputId, width = "100%", height = "auto")

Arguments

outputId

Output ID (must match the render_dt2() call in server).

width, height

CSS dimensions.

Value

An htmlwidgets Shiny output (HTML container) suitable for inclusion in a Shiny UI definition.


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