Check documentation for the latest version of dhtmlxSuite getContainer DHTMLX Docs

getContainer

returns the HTMLElement object of the container control

HTMLElement getContainer(string name);
namestringthe name of an item
HTMLElementHTMLElement object

Example

myForm = new dhtmlXForm("myForm", [
    {   
        type:"container", 
        name:"myGrid", 
        label:"Select Product", 
        inputWidth:330, 
        inputHeight:200
    }
]);
 
var container = myForm.getContainer("myGrid");

Details

to use the control you must include one extra file: "dhtmlxform_item_container.js":

<script src="../../codebase/ext/dhtmlxform_item_container.js"></script>
Back to top