Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Seetharaman Srinivasan on Dec 11, 2008 09:00
open dhtmlx forum
Grid parse jsarray


This is the part of my code

..
...

ar[i]=[j,mya[1],mya[2],mya[3],mya[4],mya[5],mya[6],mya[7],mya[8],mya[9],mya[10],mya[11],mya[12],mya[13],mya[14],mya[15],mya[16],mya[17],mya[18],mya[19],mya[20],
                        mya[21],mya[22],mya[23],mya[24],mya[25],mya[26],mya[27],mya[28],mya[29],mya[30],mya[31],mya[32],mya[33],mya[34],mya[35],mya[36],mya[37],mya[38],mya[39],mya[40],
                            mya[41],mya[42],mya[43],mya[44],mya[45],mya[46],mya[47],mya[48],mya[49],mya[50],mya[51],mya[52],mya[53],mya[54],mya[55],mya[56],mya[57],mya[58],mya[59],mya[60],
                            mya[61],mya[62],mya[63],mya[64],mya[65],mya[66],mya[67],mya[68],mya[69],mya[70],mya[71],mya[72],mya[73],mya[74],mya[75],mya[76],mya[77],mya[78],mya[79],mya[80],
                            mya[81],mya[82]];

        ii++;
        }    
alert(num+">>"+ar.length);
    mygrid1.parse(ar,"jsarray");

This grid has 100 rows and 83 columns
This shows very well in Firefox and stops at mygrid1.parse(ar,"jsarray") in IE

Are there any consideration for IE for big grid?
Answer posted by Support on Dec 11, 2008 09:10
There is no difference in inner processing of js array, but there are some other error which can occur in grid's configuration , which can be ignored by FF, but will prevent incorrect rendering in IE ( for example missed column sizes ) 

By the way, line above can be replaced with 
         ar[i]=[].concat(mya);
         ar[0]=j;

which is a bit more effective way 

If error still occurs - please provide more details about grid initialization ( or you can send any kind of sample to support@dhtmlx.com