this.cellType[i] is undefined

I did an upgrade from 2.6 to 3.5 today. I simply placed the dhtmlx_pro_full contents into /dhtml
I made no other changes to anything else in my project (which has been functioning very, very well for two years).

Now my grids do not initialize with the following error:

Timestamp: 4/3/2013 3:11:14 PM
Error: TypeError: this.cellType[i] is undefined
Source File: genesis.kenmarkopt.com/dhtml/dhtmlx.js
Line: 8978

This is line 8978:

dhtmlXGridObject.prototype._init_point_bcg=dhtmlXGridObject.prototype._init_point;dhtmlXGridObject.prototype._init_point = function(){if(!window.dhx_globalImgPath)window.dhx_globalImgPath = this.imgURL;this._col_combos=[];for (var i=0;i<this._cCount;i++){if(this.cellType[i].indexOf(“combo”)==0)

Any ideas?

Please, provide us with any kind of sample of your code to give you a proper solution.

The attached html replicates the issue on my system …

Debug
</head>
<body>
    <div id="bagstatus" style="width:100%;height:100%;overflow:hidden;display: none;background-color: #f1f1f1;">
    </div>
    <script>
        status_grid = new dhtmlXGridObject('bagstatus');
        status_grid.setImagePath("/dhtml/imgs/");
        status_grid.setHeader("Date,Type,Item,Qty,Details,Status,<input type='image' src='refresh_icon.png' style='width:18px; height:18px;' value='R' title='Refresh' alt='Refresh' onclick='dostatusrefresh()'>,<input type='image' src='printer_icon.png' style='width:18px; height:18px;' value='P' title='Print' alt='Print' onclick='dobagprint()'>,<input type='image' src='help.png' style='width:18px; height:18px;' value='H' title='Help' alt='Help' onClick='helpStatus()'>");
        status_grid.setInitWidths("125,125,70,40,460,70,35,35,128");
        status_grid.setColAlign("left,left,left,right,left,right,right,left");
        status_grid.setColTypes("ro,ro,ro,ron,txt,ro,ro,ro");
        status_grid.setColSorting("str,str,str,int,str,na,na,na");
        status_grid.enableTooltips("false,false,false,false,false,false,true,true");
        status_grid.enableAlterCss("even_row","odd_row");

        status_grid.init();
        status_grid.load("http://inquiry.kenmarkoptical.com/cgi-bin/BagTrans.pl?sls=95");
        status_grid.enableSmartXMLParsing(true);
        status_grid.setEditable(false);
    </script>
</body>
status_grid.load("http://inquiry.kenmarkoptical.com/cgi-bin/BagTrans.pl?sls=95");

Unfortunately the cross-domain requests are not allowed.

status_grid.setColTypes("ro,ro,ro,ron,txt,ro,ro,ro");

the number of parameters in the setColTypes() method should be equal to the number of the columns defined in setHeader() method.

Thanks. The second point solved the issue.