Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by FelipeTv on Sep 23, 2009 14:13
open dhtmlx forum
stack overflow at line: 9

I have dhtmlxSuite_2009Rel1_pro_90226 (enterprise)

----Internet Explorer Error 7
window ALERT: "stack overflow at line: 9"

<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="../1UTILIZACAO/css/dhtmlxaccordion_dhx_blue.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxfolders.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxgrid.css">
    <link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxgrid_skins.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxgrid_dhx_blue.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxlayout.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxlayout_dhx_blue.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxtree.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxmenu_dhx_blue.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxtoolbar_dhx_blue.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxwindows.css">
<link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxwindows_dhx_blue.css">
    <link rel="STYLESHEET" type="text/css" href="../1UTILIZACAO/css/dhtmlxcalendar.css">
    <link rel="stylesheet" type="text/css" href="../1UTILIZACAO/css/dhtmlxscheduler.css" media="screen" title="no title" charset="utf-8">


    <script src="../1UTILIZACAO/js/dhtmlxcalendar.js"></script>
    <script src="../1UTILIZACAO/js/dhtmlxlayout.js" type="text/javascript"></script>
<script src="../1UTILIZACAO/js/dhtmlxaccordion.js"></script>
<script src="../1UTILIZACAO/js/dhtmlxwindows.js" type="text/javascript"></script>
<script src="../1UTILIZACAO/js/ext/dhtmlxwindows_wmn.js" type="text/javascript"></script>
    <script src="../1UTILIZACAO/js/ext/dhtmlxwindows_sb.js"></script>
<script src="../1UTILIZACAO/js/ext/dhtmlxwindows_wtb.js" type="text/javascript"></script>
<script src="../1UTILIZACAO/js/dhtmlxcommon.js" type="text/javascript"></script>
<script src="../1UTILIZACAO/js/dhtmlxfolders.js" type="text/javascript"></script>
<script src="../1UTILIZACAO/js/dhtmlxgrid.js" type="text/javascript"></script>
<script src="../1UTILIZACAO/js/dhtmlxgridcell.js" type="text/javascript"></script>
    <script src="../1UTILIZACAO/js/ext/dhtmlxgrid_splt.js"></script>
<script src="../1UTILIZACAO/js/ext/dhtmlxgrid_group.js"></script>
    <script src="../1UTILIZACAO/js/ext/dhtmlxgrid_splt.js"></script>
<script src="../1UTILIZACAO/js/ext/dhtmlxgrid_pgn.js"></script>
    <script src="../1UTILIZACAO/js/ext/dhtmlxgrid_filter.js"></script>
    <script src="../1UTILIZACAO/js/ext/dhtmlxgrid_srnd.js"></script>
    <script src="../1UTILIZACAO/js/ext/dhtmlxgrid_nxml.js"></script>
<script src="../1UTILIZACAO/js/dhtmlxtree.js" type="text/javascript"></script>
<script src="../1UTILIZACAO/js/dhtmlxmenu.js" type="text/javascript"></script>
<script src="../1UTILIZACAO/js/dhtmlxtoolbar.js" type="text/javascript"></script>
    <script src="../1UTILIZACAO/js/scheduler.js" type="text/javascript" charset="utf-8"></script>
    <script src="../1UTILIZACAO/js/dhtmlxdataprocessor.js" type="text/javascript" charset="utf-8"></script>
<head>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0px;
overflow: hidden;
}
#dv_menu
{
width:1500px;
font-size:20pt;
vertical-align:middle;
text-align:center;
font-family:Tahoma;
position:absolute;
top:0px;
left:0px;
height:100%;
background-color:silver;
opacity:0.3;
-moz-opacity:0.3;
filter:alpha(opacity=30);
display:none;
}

#cover
{
width:1500px;
font-size:20pt;
vertical-align:middle;
text-align:center;
font-family:Tahoma;
position:absolute;
top:0px;
left:0px;
height:100%;
background-color:silver;
opacity:0.3;
-moz-opacity:0.3;
filter:alpha(opacity=30);
display:none;
}
</style>
</head>

<body onload="doOnLoad();">
<div id="4task" style="width:100%; height:100%; margin:0px; overflow:hidden;"></div>
<div id="treeMenu" style="position:relative;width:100%;height:100%;overflow:auto;font-family:Tahoma;font-size:10px;"></div>
<span id="pagingArea"></span>tes <span id="recinfoArea">gggg</span>
<span id="recInfoEnabled"></span>
<div id="cover"> Loading </div>
<div id="dv_menu"> Carregando MENU... </div>
<div id="gridbox" width="100%" height="250px" style="background-color:white;"></div>

<script>
function doOnLoad()
{

    function func_a()
        {
            document.getElementById('cover').style.display='block';
        };
    function func_b()
        {
            document.getElementById('cover').style.display='none';
        };

    var dhxLayout = new dhtmlXLayoutObject("4task", "4H");
    dhxLayout.cells("a").setText("Menu");
    dhxLayout.setEffect("collapse",true)
    dhxLayout.cells("a").setWidth(250);
    dhxLayout.cells("a").fixSize(true, false);
    dhxLayout.cells("b").setText("Caixa Entrada");
    dhxLayout.cells("b").setHeight(360);
    dhxLayout.cells("c").setText("Conteúdo");
    dhxLayout.cells("d").setText("Barra de Tarefas Pendentes");
    dhxLayout.cells("d").setWidth(150);
    dhxLayout.cells("d").fixSize(false, false);
    dhxLayout.cells("d").collapse();

    var dhxAccord = dhxLayout.cells("a").attachAccordion("accordObj");
    dhxAccord.addItem("a1", "Caixas");
    dhxAccord.addItem("a3", "Email");
    dhxAccord.addItem("a2", "Agenda");
    dhxAccord.openItem("a1");

    tree=new dhtmlXTreeObject("treeMenu","100%","100%",0);
    tree.setImagePath("../1UTILIZACAO/IMG/csh_vista/");
    tree.setOnClickHandler();
    tree.loadXML("bd/tree.xml");
    dhxAccord.cells("a1").attachObject("dv_menu");
    dhxAccord.cells("a1").attachObject("treeMenu");

    var mygrid = dhxLayout.cells("b").attachGrid();

    mygrid = new dhtmlXGridObject('gridbox');
    mygrid.setImagePath("../1UTILIZACAO/IMG/");
    mygrid.setHeader("Column A, Column B, Column C, Column D");
    mygrid.setInitWidths("100,250,80,*")
    mygrid.setColAlign("right,left,center,right")
    mygrid.setColTypes("ro,ed,ch,price");
    mygrid.setColSorting("int,str,str,str")
    mygrid.init();
    mygrid.loadXML("grid.xml");
}
</script>
</body>
</html>
Answer posted by Alex (support) on Sep 24, 2009 02:14

Hello,

locally the issue wasn't recreated. The sample and some comments will be sent by email (the sample contains libraries from PRO edition)