Skip to content

How to remove row index column? #53

@jacob-lester

Description

@jacob-lester

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)

Example here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions