I am having troubles to display the rows of a simple table in my shiny app with the DT package (renderTable works fine):
The code I am using in ui.r and server.r are:
output$table1 = renderDT({
iris
}, filter="top")
Tab_1_2 <- tabPanel("Instructions",
HTML("<p>2) Text sample;. </p>"),
actionButton("B1", "Refresh"),
tabPanel("", title = icon("user"), wellPanel(
tags$h2("", class = "text-center", style = "padding-top: 0;"),
DTOutput("table1")
))
)
Any help will be highly appreciated.
I don't know why but this part of the code was creating the problem:
tags$script(src ="require.js")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.