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