Skip to main content


allows changing available configuration properties of the Container control dynamically

setProperties(propertyConfig: IBaseLayoutItem): void;


propertyConfig: object - an object with the available properties of the control and their new values


form.getItem("container").setProperties({    height: "200",    width: "800",    padding: "10"});

The method invokes the afterChangeProperties and beforeChangeProperties events.

It is possible to change values of the following properties of the Container control:

  • width - string, number, "content" - the width of a control
  • height - string, number, "content" - the height of a control
  • padding - string, number - sets padding between a cell and a border of a control

Change log:

added in v7.2