Debian Codegraph @

man/hot_cols.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/rhandsontable.R
3 \name{hot_cols}
4 \alias{hot_cols}
5 \title{Handsontable widget}
6 \usage{
7 hot_cols(
8 hot,
9 colWidths = NULL,
10 columnSorting = NULL,
11 manualColumnMove = NULL,
12 manualColumnResize = NULL,
13 fixedColumnsLeft = NULL,
14 ...
15 )
16 }
17 \arguments{
18 \item{hot}{rhandsontable object}
19
20 \item{colWidths}{a scalar or numeric vector of column widths}
21
22 \item{columnSorting}{logical enabling row sorting. Sorting only alters the
23 table presentation and the original dataset row order is maintained.
24 The sorting will be done when a user click on column name}
25
26 \item{manualColumnMove}{logical enabling column drag-and-drop reordering}
27
28 \item{manualColumnResize}{logical enabline column width resizing}
29
30 \item{fixedColumnsLeft}{a scalar indicating the number of columns to
31 freeze on the left}
32
33 \item{...}{passed to hot_col}
34 }
35 \description{
36 Configure multiple columns.
37 }
38 \examples{
39 library(rhandsontable)
40 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
41 small = letters[1:10],
42 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
43 stringsAsFactors = FALSE)
44
45 rhandsontable(DF) \%>\%
46 hot_cols(columnSorting = TRUE)
47 }
48 \seealso{
49 \code{\link{hot_col}}, \code{\link{hot_rows}}, \code{\link{hot_cell}}
50 }