I'm trying to set up an interactive table in a Shiny app using rhandsontable, and I cannot edit the entries. In fact, I have to use the escape key to deselect cells once I have selected them, and the dropdown menu for the op column is missing. Here is the app.
library(rhandsontable)
library(shiny)
ui = fluidPage(rHandsontableOutput("equation"))
server = function(input, output){
values = reactiveValues(equation =
data.frame(A = "A value", op = ">", B = "B value"))
observe({
if(!is.null(input$equation))
values$equation = hot_to_r(input$equation)
})
output$equation = renderRHandsontable({
rhandsontable(values$equation) %>%
hot_col(col = "op", source = c(">", "<"))
})
}
shinyApp(ui = ui, server = server)
Other notes:
- Eventually, I would like to add and remove rows interactively as well.
- I'm using this table to build an equation, so feel free to ignore this table stuff and tell me about a cool equation builder HTML widget.

rhandsontablebut will have a look when I get out of this meeting. :) - Mike Wise