dt

How to remove the first column (index) from data table in R Shiny

你说的曾经没有我的故事 提交于 2020-08-27 22:12:29
问题 I am wondering if there is a way to remove the index column (1st column) from the data table in Shiny. For example, column of (1, 2, 3) before Name column as shown in the screenshot below: Below is my code: header <- dashboardHeader( title = "Test" ) sidebar <- dashboardSidebar( ) body <- dashboardBody( box(title = "Test", width = 7, status = "warning", DT::dataTableOutput("df")) ) # UI ui <- dashboardPage(header, sidebar, body) # Server server <- function(input, output, session) { output$df