Files
shiny/man/column.Rd
2013-12-12 14:28:21 -05:00

51 lines
1002 B
R

\name{column}
\alias{column}
\title{Create a column within a UI definition}
\usage{
column(width, ..., offset = 0)
}
\arguments{
\item{width}{The grid width of the column (must be
between 1 and 12)}
\item{...}{Elements to include within the column}
\item{offset}{The number of columns to offset this column
from the end of the previous column.}
}
\value{
A column that can be included within a
\code{columnLayout}, \code{\link{fluidRow}}, or
\code{\link{fixedRow}}.
}
\description{
Create a column for use within a
\code{\link{columnLayout}}, \code{\link{fluidRow}}, or
\code{\link{fixedRow}}
}
\examples{
columnLayout(
column(4,
sliderInput("obs", "Number of observations:",
min = 1, max = 1000, value = 500)
),
column(8,
plotOutput("distPlot")
)
)
fluidRow(
column(width = 4,
"4"
),
column(width = 3, offset = 2,
"3 offset 2"
)
)
}
\seealso{
\code{\link{columnLayout}}, \code{\link{fluidRow}},
\code{\link{fixedRow}}.
}