Hi,
I am using a data grid component in flash AS3 and I am adding content to it with the addItemAt() method. It works but not as I would like it to.
When I add text to column 0 index 0 of the data grid, the text is placed there:
var tempData;
if(cameraNum==0){
tempData = { col1:""+Data;
}else if (cameraNum==1){
tempData = { col2:""+Data};
}
addItemAt(tempData, 0)
Now when I place text on column 1 index 0 of the data grid the text is placed there but the text in column 0 is pushed down to index 1.
Why is this and is there a way to insert text into columns and not have the other column index’s change position?
Thanks