如何在闪亮的雄伟的表中启用手动行移动?

时间:2018-12-18 17:39:31

标签: r shiny rhandsontable

我一直试图弄清楚如何在R闪亮的handson表中启用行移动。如此处所述:https://handsontable.com/docs/6.2.1/demo-moving.html。我似乎无法弄清楚如何将参数传递给Handson表。

library(shiny)
library(rhandsontable)

# Define UI for application that draws a histogram
ui <- fluidPage(

   # Application title
   titlePanel("rhandsontable test"),

      # Show a plot of the generated distribution
      mainPanel(
        rHandsontableOutput("test")
      )
   )


# Define server logic required to draw a histogram
server <- function(input, output) {

   output$test <- renderRHandsontable({
     rhandsontable(iris)
   })
}

# Run the application 
shinyApp(ui = ui, server = server)

0 个答案:

没有答案