hi
I have a form and inside it a container where i have to attach a grid.
I have imported this js file:
[code]
<script src="js/dhtmlx/menu/dhtmlxmenu.js"></script>
<link rel="stylesheet" type="text/css" href="js/dhtmlx/menu/skins/dhtmlxmenu_dhx_blue.css">
<script src="js/dhtmlx/toolbar/dhtmlxtoolbar.js"></script>
<link rel="stylesheet" type="text/css" href="js/dhtmlx/toolbar/skins/dhtmlxtoolbar_dhx_blue.css">
<link rel="stylesheet" type="text/css" href="js/dhtmlx/layout/dhtmlxlayout.css">
<link rel="stylesheet" type="text/css" href="js/dhtmlx/layout/skins/dhtmlxlayout_dhx_blue.css">
<script src="js/dhtmlx/layout/dhtmlxcommon.js"></script>
<script src="js/dhtmlx/layout/dhtmlxcontainer.js"></script>
<script src="js/dhtmlx/layout/dhtmlxlayout.js"></script>
<link rel="stylesheet" type="text/css" href="js/dhtmlx/form/skins/dhtmlxform_dhx_skyblue.css">
<script src="js/dhtmlx/form/dhtmlxform.js"></script>
<script src="js/dhtmlx/form/ext/dhtmlxform_item_container.js"></script>
<script src="js/dhtmlx/form/ext/dhtmlxform_item_combo.js"></script>
<script src="js/dhtmlx/form/ext/dhtmlxform_item_calendar.js"></script>
<script src="js/dhtmlx/form/ext/swfobject.js"></script>
<script src="js/dhtmlx/form/ext/dhtmlxform_item_upload.js"></script>
<script src="js/dhtmlx/form/ext/dhtmlxform_item_editor.js"></script>
<script src="js/dhtmlx/form/ext/dhtmlxform_item_colorpicker.js"></script>
<script src="js/dhtmlx/form/ext/dhtmlxform_item_btn2state.js"></script>
<script src="js/dhtmlx/form/ext/dhtmlxform_hide_on_disable.js"></script>
<script src="js/dhtmlx/accordion/dhtmlxaccordion.js"></script>
<link rel="stylesheet" type="text/css" href="js/dhtmlx/accordion/skins/dhtmlxaccordion_dhx_blue.css">
<link rel="stylesheet" type="text/css" href="js/dhtmlx/tabbar/dhtmlxtabbar.css">
<script src="js/dhtmlx/tabbar/dhtmlxtabbar.js"></script>
<script src="js/dhtmlx/tabbar/dhtmlxtabbar_start.js"></script>
<link rel="stylesheet" type="text/css" href="js/dhtmlx/windows/dhtmlxwindows.css">
<link rel="stylesheet" type="text/css" href="js/dhtmlx/windows/skins/dhtmlxwindows_dhx_skyblue.css">
<script src="js/dhtmlx/windows/dhtmlxwindows.js"></script>
<script src="js/dhtmlx/windows/dhtmlxcontainer.js"></script>
<link rel="STYLESHEET" type="text/css" href="js/dhtmlx/grid/dhtmlxgrid.css">
<link rel="STYLESHEET" type="text/css" href="js/dhtmlx/grid/skins/dhtmlxgrid_dhx_skyblue.css">
<script src="js/dhtmlx/grid/dhtmlxgrid.js"></script>
<script src="js/dhtmlx/grid/dhtmlxgridcell.js"></script>
<script src="js/dhtmlx/grid/ext/dhtmlxgrid_filter.js"></script>
<script src="js/dhtmlx/grid/ext/dhtmlxgrid_srnd.js"></script>
<script src="js/dhtmlx/grid/excells/dhtmlxgrid_excell_acheck.js"></script>
<script src="js/dhtmlx/grid/ext/dhtmlxgrid_drag.js"></script>
<link rel="stylesheet" type="text/css" href="js/dhtmlx/tree/dhtmlxtree.css">
<script src="js/dhtmlx/tree/dhtmlxtree.js"></script>
[/code]
but when i call
grid = new dhtmlXGridObject(form.getContainer("gridValori"));
i got this error messagge:
TypeError: form.getContainer is not a function
Thank you.
Jacopo