R/zzz.R

Defines functions .onLoad

.onLoad <- function(...) {

  tryCatch( {
    shiny::registerInputHandler("rhandsontable.customSelectDeserializer",
                                function(x, session, inputName) {
                                  result <- x
                                  result$select$rAll <- unlist(x$select$rAll)
                                  result$select$cAll <- unlist(x$select$cAll)
                                  result},
                                force = TRUE )
  }, error = function(err) {})
}

Try the rhandsontable package in your browser

Any scripts or data that you put into this service are public.

rhandsontable documentation built on May 27, 2021, 5:07 p.m.