Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by j.lagos on Feb 05, 2009 03:22
open dhtmlx forum
Grig loading with jsarray

I'm using the PRO and load a grid as: mygrid_.parse(myarray_r,"jsarray");

The array is like this:

myarray_r=[
['10:15:15:23','P','B','10000027','196','MD001','0','O',-1,-1],
['10:15:21:91','P','B','00000027','196','MD001','0','O',-1,-1],
['10:15:29:83','P','S','00000072','600',' ','0','O',-1,-1],
['10:15:45:71','P','S','00000209','600',' ','0','O',-1,-1],
....
,];

The grid is loaded correctly but exactly after it is loaded, the program breaks and from firebug get the following error:

docObj is undefined
doXPath()("//column", undefined, undefined, undefined)dhtmlxcommon.js (line 71)
fillColumnCombos()(Object entBox=div#dhxGridObj_9zeC2sPsp4lz.gridbox, undefined)dhtmlxgr..._combo.js (line 16)
edit()()dhtmlxgr..._combo.js (line 9)
z()()dhtmlxgrid.js (line 4611)
callEvent()()dhtmlxgrid.js (line 4591)
parse()(undefined, null, "jsarray")dhtmlxgrid.js (line 5212)
startLoadingOrders()playthread.php (line 1512)
readBack()playthread.php (line 1485)

Please, note that I have no events attached to this grid and load data with jsarray, not as XML.
I found out that if I remove from my script the dhtmlxgrid_excell_combo.js file, the error stops occuring and the program continuous normally.

Please, have any suggestions;

Thanks,
John


Answer posted by Support on Feb 05, 2009 08:06

Dear John, do you use the latest dhtmlxgrid_excell_combo.js  ? (this file was sent you with the samples)

The issue is not reproduced locally. 

Could you please provide any sample to recreate it (at support@dhtmlx.com)