Expanding and collapsing child rows in Shiny DataTable
问题 I'm having trouble replicating a datatable object in Shiny. Currently, I can display what I want when I run the data table portion of the code outside of a Shiny environment. However, when I run the entire code, it's not displaying the child table. library(DT) library(data.table) library(shiny) shinyApp( ui = fluidPage(DT::dataTableOutput('tbl')), server = function(input, output) { output$tbl = DT::renderDataTable( datatable({ #Transform dataframe to data.table and turn the dataframe rowname