Debian Codegraph @

man/hot_cell.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/rhandsontable.R
3 \name{hot_cell}
4 \alias{hot_cell}
5 \title{Handsontable widget}
6 \usage{
7 hot_cell(hot, row, col, comment = NULL, readOnly = NULL)
8 }
9 \arguments{
10 \item{hot}{rhandsontable object}
11
12 \item{row}{numeric row index}
13
14 \item{col}{column name or index}
15
16 \item{comment}{character comment to add to cell}
17
18 \item{readOnly}{logical making the cell read-only}
19 }
20 \description{
21 Configure single cell. See
22 \href{https://handsontable.com/}{Handsontable.js} for details.
23 }
24 \examples{
25 library(rhandsontable)
26 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
27 small = letters[1:10],
28 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
29 stringsAsFactors = FALSE)
30
31 rhandsontable(DF) \%>\%
32 hot_cell(1, 1, comment = "Test comment") \%>\%
33 hot_cell(2, 3, readOnly = TRUE)
34 }
35 \seealso{
36 \code{\link{hot_cols}}, \code{\link{hot_rows}}
37 }