Container properties
Usage
{
type: "container",
name?: string,
id?: string,
html?: HTMLElement | string,
css?: string,
disabled?: boolean, // false by default
height?: string | number | "content", // "content" by default
hidden?: boolean, // false by default
padding?: string | number,
width?: string | number | "content", // "content" by default
label?: string,
labelWidth?: string | number,
labelPosition?: "left" | "top", // "top" by default
hiddenLabel?: boolean, // false by default
helpMessage?: string
}
Description
type
- (required) the type of a control, set it to "container"name
- (optional) the name of a controlid
- (optional) the id of a control, auto-generated if not sethtml
- (optional) the HTML content of a controlcss
- (optional) adds style classes to a control stringdisabled
- (optional) defines whether a control is enabled (false) or disabled (true), false by defaultheight
- (optional) the height of a control, "content" by defaulthidden
- (optional) defines whether a control is hidden, false by defaultpadding
- (optional) sets padding between a cell and a border of a controlwidth
- (optional) the width of a control, "content" by defaultlabel
- (optional) specifies a label for a controllabelWidth
- (optional) sets the width of the label of a controllabelPosition
- (optional) defines the position of a label: "left" | "top", "top" by defaulthiddenLabel
- (optional) makes the label invisible, false by defaulthelpMessage
- (optional) adds a help message to a control
Example
Related article: Container