Debian Codegraph @

man/set_data.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/rhandsontable.R
3 \name{set_data}
4 \alias{set_data}
5 \title{Handsontable widget}
6 \usage{
7 set_data(id, row, col, val, session, zero_indexed = F)
8 }
9 \arguments{
10 \item{id}{The id of the table to interact with.}
11
12 \item{row}{Integer vector of row indexes.}
13
14 \item{col}{Integer vector the column indexes.}
15
16 \item{val}{Vector of values to set at each row-col pair.}
17
18 \item{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.}
19
20 \item{zero_indexed}{Default FALSE. Set to TRUE if you are supplying row and col indexes that are already 0-based.}
21 }
22 \description{
23 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.
24 }