I have an 'Add' button on my page which has an Advanced Data Grid. When users click the button, a new row is created. I wanna the new row to be populated with some data from the previously selected row.
here is some of my code, but it didn't work, do you see why?
protected function Add_Btn_clickHandler(event:MouseEvent):void
address = new Address();
createAddressResult.token = territoryServiceDestination.createAddress(address);
protected function createAddressResult_resultHandler(event:ResultEvent):void
adg1.selectedItem = address;
adg1.selectedItem.city = 'Los Angeles'
adg1.selectedItem.state = 'CA'