inst/examples/DT-click/ui.R

library(shiny)

navbarPage(

  title = 'Interaction with Table Cells', id = 'x0',

  tabPanel('Table', DT::dataTableOutput('x1')),

  tabPanel('Plot', textInput('x2', 'Row ID'), plotOutput('x3'))

)

Try the DT package in your browser

Any scripts or data that you put into this service are public.

DT documentation built on Oct. 5, 2023, 5:09 p.m.