PDA

View Full Version : Grid problem



petcy
9 Mar 2011, 10:25 PM
again i've a problem related with grid...
i'm trying to combine two grids and i got the combined array....

but i cannot load the combined array to grid why?????

var len1=details1.length;
var len2=details2.length;
var len=len1+len2;
var i=0;

var arr=[len];
for( i=0;i<len;i++)
{
if(i<len1){

arr.push(details1[i]);
}
else
{

arr.push(details2[i-len2]);
}

}

gridcombined.store.loadData(arr);