A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/api/checkbox_group/checkboxgroup_setproperties_method/ below:

JavaScript Form - setProperties Checkbox Group Method

allows changing the available configuration attributes of the control dynamically


form.getItem("checkboxGroup").setProperties({
label: "New label",
labelPosition: "left",
options: {
rows: [
{
id: "first",
type: "checkbox",
text: "New Select 1",
},
{
id: "second",
type: "checkbox",
text: "New Select 2",
},
{
id: "third",
type: "checkbox",
text: "New Select 3",
},
]
}
});


form.getItem("checkboxGroup").setProperties("first", {
text: "New Text",
padding: 20
});

It is possible to change the values of the following configuration attributes of the CheckboxGroup control:

{
css: string,
errorMessage: string,
height: string | number|"content",
helpMessage: string,
hiddenLabel: boolean,
label: string,
labelPosition: string,
labelWidth: string | number,
options: object,
padding: string | number,
preMessage: string,
required: boolean,
successMessage: string,
width: string|number|"content"
}

It is possible to change the values of the following configuration attributes of a checkbox of the CheckboxGroup control:

{
css: string,
height: string | number | "content",
padding: string | number,
text: string,
width: string | number | "content"
}

You will find the description of these properties here.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4