Debian Codegraph @

man/hot_context_menu.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/rhandsontable.R
3 \name{hot_context_menu}
4 \alias{hot_context_menu}
5 \title{Handsontable widget}
6 \usage{
7 hot_context_menu(
8 hot,
9 allowRowEdit = TRUE,
10 allowColEdit = TRUE,
11 allowReadOnly = FALSE,
12 allowComments = FALSE,
13 allowCustomBorders = FALSE,
14 customOpts = NULL,
15 ...
16 )
17 }
18 \arguments{
19 \item{hot}{rhandsontable object}
20
21 \item{allowRowEdit}{logical enabling row editing}
22
23 \item{allowColEdit}{logical enabling column editing. Note that
24 Handsontable does not support column add/remove when column types
25 are defined (i.e. useTypes == TRUE in rhandsontable).}
26
27 \item{allowReadOnly}{logical enabling read-only toggle}
28
29 \item{allowComments}{logical enabling comments}
30
31 \item{allowCustomBorders}{logical enabling custom borders}
32
33 \item{customOpts}{list}
34
35 \item{...}{ignored}
36 }
37 \description{
38 Configure the options for the right-click context menu
39 }
40 \examples{
41 library(rhandsontable)
42 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
43 small = letters[1:10],
44 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
45 stringsAsFactors = FALSE)
46
47 rhandsontable(DF) \%>\%
48 hot_context_menu(allowRowEdit = FALSE, allowColEdit = FALSE)
49 }