var dp:Object=Mydatagrid.dataProvider;
var cursor:IViewCursor=dp.createCursor();
while( !cursor.afterLast )
{
// Access each column field like: cursor.current.MyFieldName
trace(cursor.current.MyFieldName);
// Obviously don't forget to move to next row:
cursor.moveNext();
}
var cursor:IViewCursor=dp.createCursor();
while( !cursor.afterLast )
{
// Access each column field like: cursor.current.MyFieldName
trace(cursor.current.MyFieldName);
// Obviously don't forget to move to next row:
cursor.moveNext();
}