Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <fx:Script>
- <![CDATA[
- import com.adobe.serializers.utility.TypeUtility;
- import mx.controls.Alert;
- import mx.events.FlexEvent;
- import spark.events.GridSelectionEvent;
- protected function button1_clickHandler(event:MouseEvent):void
- {
- }
- protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
- {
- getAllCustomerResult.token = customerService.getAllCustomer();
- }
- protected function dataGrid2_creationCompleteHandler(event:FlexEvent):void
- {
- getDeviceByIDResult3.token = deviceService.getDeviceByID(dataGrid.selectedItem.id);
- }
- protected function dataGrid_selectionChangeHandler(event:GridSelectionEvent):void
- {
- // TODO Auto-generated method stub
- getDeviceByIDResult3.token = deviceService.getDeviceByID(dataGrid.selectedItem.id);
- }
- ]]>
- </fx:Script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement