Hi,
I’m trying to load the connector.js and I keep getting this error.
I am using the std edition package given on website and this is the order in which
scripts are loaded.
<script type="text/javascript" src="/app/js/dhtmlx412/codebase/dhtmlx.js"></script>
<script type="text/javascript" src="/app/js/dhtmlx412/connector.js"></script>
If this error happens I also get UncaughtRangeError:Maximum Call Stack size exceeded
dhtmlxGridObject.load (dhtmlx.js:9)
on the grid. If I remove the connector, then the grid loads perfectly but I have to generate xml for php. Any clues?
The grid initializing code used is given below but I want to use connector so that I can save the data and make the grid editable.
mygrid = new dhtmlXGridObject('gridbox');
mygrid.setImagePath("/app/js/dhtmlx412/codebase/imgs/");
mygrid.setHeader("Id, Data Value");
mygrid.setInitWidths("100,*");
mygrid.setColAlign("center,left");
mygrid.setColTypes("ro,ro");
mygrid.setColSorting("int,str");
mygrid.enableMultiselect(true);
mygrid.enableAutoHeight(true,700);
mygrid.init();
mygrid.load("/app/ajax_datavalues/<?=$account->id?>/<?=$selTagId ?>/list");
Thank you for your help. Its a great product overall.