We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Based on an idea by @tyluRp in #66
library(shiny) ui <- fluidPage( selectInput("data", "data", c("mtcars", "iris"), "mtcars"), uiOutput("sortable"), tableOutput("table") ) server <- function(input, output, session) { rv <- reactiveValues(data = data.frame()) observeEvent(input$data, { rv$data <- get(input$data) }) observeEvent(input$sortable, { rv$data <- rv$data[input$sortable] }) output$sortable <- renderUI({ sortable::rank_list("", names(rv$data), "sortable") }) output$table <- renderTable({ rv$data }) } shinyApp(ui, server)
The text was updated successfully, but these errors were encountered:
Add vignette on updating rank_list items. Closes #67
ee3d7e4
db2c220
andrie
No branches or pull requests
Based on an idea by @tyluRp in #66
The text was updated successfully, but these errors were encountered: