getContainer

returns the HTMLElement object of the container control

HTMLElement getContainer(string name);

Parameters

namestringthe name of an item

Returns

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