ive done as suggested however i still get a blank row
public function sendResultHandler(evt2:ResultEvent):void
{
var index:int = dg.dataProvider.length;
dg.dataProvider.addItemAt(evt2.result,index);
trace(ObjectUtil.toString(evt2.result) );
dg.dataProvider.refresh();
}
funny thing is that if i do this
public function sendResultHandler(evt2:ResultEvent):void
{
dg. dataProvider = new ArrayCollection (
ArrayUtil.toArray(evt2.result) );
var index:int = dg.dataProvider.length;
dg.dataProvider.addItemAt(evt2.result,index);
trace(ObjectUtil.toString(evt2.result) );
dg.dataProvider.refresh();
}
it correctly populates the datagrid with the correct record so im
assuming that the data being retrieved is correct, so the problem must
be the addItemAt() . im really taking a stab in the dark here but i
really appreciate the help you've given so far.....