Mnsina
Mnsina

Reputation: 1

Table rows not visible on Shiny App (DT Package)

I am having troubles to display the rows of a simple table in my shiny app with the DT package (renderTable works fine):

Example

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.

Upvotes: 0

Views: 260

Answers (1)

Mnsina
Mnsina

Reputation: 1

I don't know why but this part of the code was creating the problem:

tags$script(src ="require.js")

Upvotes: 0

Related Questions