xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark" backgroundColor="white">
private function myGrid_initialize():void {
myGrid.dataProvider = [
{Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99, Comment:'One of their best. 4 Stars.'},
{Artist:'Pavement', Album:'Brighten the Corners', Price:11.99, Comment:'My favorite.'}
];
}
showRoot="true">
initialize="myGrid_initialize();"
change="currentMessage.text= event.currentTarget.selectedItem.Comment;" />
text="One of their best. 4 Stars." />