R/zzz.R
raw| 1 | .onLoad <- function(...) { |
| 2 | |
| 3 | tryCatch( { |
| 4 | shiny::registerInputHandler("rhandsontable.customSelectDeserializer", |
| 5 | function(x, session, inputName) { |
| 6 | result <- x |
| 7 | result$select$rAll <- unlist(x$select$rAll) |
| 8 | result$select$cAll <- unlist(x$select$cAll) |
| 9 | result}, |
| 10 | force = TRUE ) |
| 11 | }, error = function(err) {}) |
| 12 | } |