DHTMLX Docs & Samples Explorer

getContainer(name)

returns the HTMLDivElement object of the container control.

Parameters:

  • name - the id of item (the item's parameter 'name')
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>