| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/rhandsontable.R |
| 3 |
\name{hot_table} |
| 4 |
\alias{hot_table} |
| 5 |
\title{Handsontable widget} |
| 6 |
\usage{ |
| 7 |
hot_table( |
| 8 |
hot, |
| 9 |
contextMenu = TRUE, |
| 10 |
stretchH = "none", |
| 11 |
customBorders = NULL, |
| 12 |
highlightRow = NULL, |
| 13 |
highlightCol = NULL, |
| 14 |
enableComments = FALSE, |
| 15 |
overflow = NULL, |
| 16 |
rowHeaderWidth = NULL, |
| 17 |
... |
| 18 |
) |
| 19 |
} |
| 20 |
\arguments{ |
| 21 |
\item{hot}{rhandsontable object} |
| 22 |
|
| 23 |
\item{contextMenu}{logical enabling the right-click menu} |
| 24 |
|
| 25 |
\item{stretchH}{character describing column stretching. Options are 'all', 'right', |
| 26 |
and 'none'} |
| 27 |
|
| 28 |
\item{customBorders}{json object} |
| 29 |
|
| 30 |
\item{highlightRow}{logical enabling row highlighting for the selected |
| 31 |
cell} |
| 32 |
|
| 33 |
\item{highlightCol}{logical enabling column highlighting for the |
| 34 |
selected cell} |
| 35 |
|
| 36 |
\item{enableComments}{logical enabling comments in the table} |
| 37 |
|
| 38 |
\item{overflow}{character setting the css overflow behavior. Options are |
| 39 |
auto (default), hidden and visible} |
| 40 |
|
| 41 |
\item{rowHeaderWidth}{numeric width (in px) for the rowHeader column} |
| 42 |
|
| 43 |
\item{...}{passed to \href{https://handsontable.com/}{Handsontable.js} constructor} |
| 44 |
} |
| 45 |
\description{ |
| 46 |
Configure table. See |
| 47 |
\href{https://handsontable.com/}{Handsontable.js} for details. |
| 48 |
} |
| 49 |
\examples{ |
| 50 |
library(rhandsontable) |
| 51 |
DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10], |
| 52 |
small = letters[1:10], |
| 53 |
dt = seq(from = Sys.Date(), by = "days", length.out = 10), |
| 54 |
stringsAsFactors = FALSE) |
| 55 |
|
| 56 |
rhandsontable(DF) \%>\% |
| 57 |
hot_table(highlightCol = TRUE, highlightRow = TRUE) |
| 58 |
} |
| 59 |
\seealso{ |
| 60 |
\code{\link{rhandsontable}} |
| 61 |
} |