Hi,
exists a better way for populating DataGrid in Flex application from
CakePHP (with CakeAMF) as this example:
[Bindable]
public var dgItems:ArrayCollection = new ArrayCollection();
for (var i:int=0; i < result.Users.length; i++)
{
dgItems.addItem(result.Users[i].User);
}
this solution doesn`t work:
dgItems = new ArrayCollection(result.Users);
dgItems is dataProvider for DataGrid
Thanks for hints!
sorry for my english
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---