Container
The Container control is available in the PRO version only.
A control to attach HTML code or DHTMLX widgets.
The Container control helps you build Form-based solutions. You can extend a Form with HTML code or combine several native widgets in one Form.
You cannot attach Layout and Form widgets.
How to start
To add the Container control to a Form, set type: "container" during Form initialization, then use one of the methods:
- attachHTML() — for HTML code
- attach() — for DHTMLX widgets
You can also attach HTML code directly to the Container control — see the sample above.
Methods
You can manage the Container control with the methods of the object that the getItem() method returns. These methods hide and show Container, and set and get its properties.
Events
You can manage the Container control with the events of the object that the getItem() method returns.
Properties
These properties configure the Container control — for example, css, height, width, and padding.