View source: R/rhandsontable.R
Set data inside a Handsontable instance without recreating the widget. Send the new values as a vector of rows, a vector of columns, and a vector of values. If different length vectors are supplied then the shorter ones are recycled to match the length of the longest.
1 |
id |
The id of the table to interact with. |
row |
Integer vector of row indexes. |
col |
Integer vector the column indexes. |
val |
Vector of values to set at each row-col pair. |
session |
The session that is associated with your shiny server function. The table is only interactive when used in shiny so we only use set_data when the table is in shiny. |
zero_indexed |
Default FALSE. Set to TRUE if you are supplying row and col indexes that are already 0-based. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.