I cannot figure out how to remove the first column from the table since the column header is blank. Is there an option for removing this column or how can I access by column index? Again, I am using R, but JS could work as well.
library(shiny)
library(RagGrid)
ui <- shinyUI(fluidPage(
title = 'Use the RagGrid package in shiny',
fluidRow(
column(2),
column(8, RagGrid::RagGridOutput('tbl1')),
column(2)
)
))
server <- shinyServer(function(input, output, session) {
output$tbl1 <- renderRagGrid(aggrid(iris))
})
shinyApp(ui = ui, server = server)
Note: ag-grid puts this column in automatically, it is not actually in the underlying data frame. See example table here