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
Hi,
I wonder if this is possible to do/feature request:
I would like to show the user(/on the webpage) different names for the columns than the code uses. For example, if I have a data frame with
DF <- data.frame(weight = 1:10, age = 2:11) rhandsontable(DF)
The user is shown those names (weight and age). I would like to have something like the following:
DF <- data.frame(weight = 1:10, age = 2:11) rhandsontable(DF, colHeaders = c("Weight (g)", "Age (years)"))
But in this case, these names are returned by hot_to_r(input$hot) aswell and cannot be used by the rest of the code.
hot_to_r(input$hot)
The text was updated successfully, but these errors were encountered:
I solved it using a htmlwidget callback
hot <- htmlwidgets::onRender(hot, " function(el, x, data) { var hot = this.hot; hot.updateSettings({'colHeaders': data}); } ", data = colheaders)
Sorry, something went wrong.
No branches or pull requests
Hi,
I wonder if this is possible to do/feature request:
I would like to show the user(/on the webpage) different names for the columns than the code uses.
For example, if I have a data frame with
The user is shown those names (weight and age). I would like to have something like the following:
But in this case, these names are returned by
hot_to_r(input$hot)
aswell and cannot be used by the rest of the code.The text was updated successfully, but these errors were encountered: