RagGrid
RagGrid copied to clipboard
How to remove row index column?
Can't figure out how to remove the first column from the grid that has the row indexes. There is no label for this column, so I cannot access it programmatically using colOpts.
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)