| sidebar_label | Form Fieldset properties |
|---|---|
| title | JavaScript Form - Fieldset Properties |
| description | You can explore the Properties of the Fieldset 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: "fieldset",
name?: string,
id?: string, // must be unique if set, auto-generated if not set
hidden?: boolean, // false by default
disabled?: boolean, // false by default
css?: string,
width?: string | number | "content", // "content" by default
height?: string | number | "content", // "content" by default
padding?: string | number,
label?: string,
labelAlignment?: "left" | "right" | "center", // "left" by default
rows?: IBlock,
cols?: IBlock,
align?: "start" | "center" | "end" | "between" | "around" | "evenly" // "start" by default
}type- (required) the type of a control, set it to "fieldset"name- (optional) the name of a controlid- (optional) the id of a control, must be unique if set, auto-generated if not sethidden- (optional) defines whether a control is hidden, false by defaultdisabled- (optional) defines whether a control is enabled (false) or disabled (true), false by defaultcss- (optional) the name of a CSS class(es) applied to the control groupwidth- (optional) sets the width of the control group, "content" by defaultheight- (optional) sets the height of the control group, "content" by defaultpadding- (optional) sets the padding for the content inside the control grouplabel- (optional) specifies a label for a controllabelAlignment- (optional) defines the position of the label: "left" | "right" | "center", "left" by defaultrows- (optional) arranges controls inside the control group verticallycols- (optional) arranges controls inside the control group horizontallyalign- (optional) sets the alignment of controls inside the control group, "start" by default
Related article: Fieldset