setProperties()
allows changing available configuration properties of the Container control dynamically
setProperties(properties: object): void;
Parameters:
properties: object
- an object with the available properties of the control and their new values
Example
form.getItem("container").setProperties({
height: "200",
width: "800",
padding: "10"
});
info
The method invokes the afterChangeProperties and beforeChangeProperties events.
It is possible to change values of the following properties of the Container control:
{
css: string,
width: string | number | "content",
height: string | number | "content",
padding: string | number,
label: string,
labelWidth: string | number,
labelPosition: "left" | "top",
hiddenLabel: boolean,
helpMessage: string
}
You will find the description of these properties here.
Change log:
added in v7.2