jrowen / rhandsontable

A htmlwidgets implementation of Handsontable.js
http://jrowen.github.io/rhandsontable/
Other
380 stars 147 forks source link

Unable to pass parameters into custom renderer when running inside Shiny App #299

Open palatinuse opened 5 years ago

palatinuse commented 5 years ago

I don't know hot to apply the following code snippet from the docs:

HTMLWidgets.widgets.filter(function(widget) {
  // this should match the table id specified in the shiny app
  return widget.name === "hot"
})[0];

instead of tbl = this.HTMLWidgets.widgets[0]

palatinuse commented 5 years ago

See also: https://stackoverflow.com/questions/54709326/passing-parameter-to-custom-renderer-in-rhandsontable-does-not-work-inside-a-shi