| sidebar_label | Form Container properties |
|---|---|
| title | JavaScript Form - Container Properties |
| description | You can explore the Properties of the Container control of Form in the documentation of the DHTMLX JavaScript UI library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Suite. |
{
type: "container",
name?: string,
id?: string, // must be unique if set, auto-generated if not set
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
}type- (required) the type of a control, set it to "container"name- (optional) the name of a controlid- (optional) the id of a control, must be unique if set, 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
Related article: Container