tableInput: Create a series of label-less inputs in a table envrironment...

Description Usage Arguments Author(s) Examples

Description

Create a series of label-less inputs in a table envrironment with rownames and colnames.

Usage

1
tableInput(inputId, label, nrow, ncol, dimnames, col.inputs, class = NULL)

Arguments

inputId

The inputId for the table.

label

The label to display for the table.

nrow

Number of rows the table will display.

dimnames

List of names for the table dimensions. rownames may be named, name for colnames will not be used.

col.inputs

Named list of input types, with one element per column. Sublist elements should be the named arguments to each input type. The shinyAddOn 'inline' inputs are recommended (inumericInput, itextInput, iradioButtons).

class

Optional class to assign to the table (for css formatting).

ncolNumber

of columns the table will display.

Author(s)

Jon Katz

Examples

1
2
3
4
5
6
7
tableInput(inputId='test', label='test table', nrow=4, ncol=2,
   dimnames = list(
       rows=c(paste('row', 1:4)),
       c(paste('col', 1:2))
   col.inputs <- list(
       inumericInput=list(value=NA),
)

jonkatz2/shinyAddOns documentation built on May 19, 2019, 7:30 p.m.