PDA

View Full Version : [Solved]insert into array and load grid



ibme74
29 Nov 2007, 4:49 PM
Since I can insert a record in an array and load it then in an array-grid?

I have this code


myData.push("["+idreg+","+referencia+"]");
ds.loadData(myData);


but the grid show in idreg column [ and in the referencia column the idreg value.

Someone can help me?

Sorry for my bad English and thanks.

ibme74
29 Nov 2007, 6:27 PM
Ok, It's works:


myData.push([idreg,referencia]);
ds.loadData(myData);



thanks.