<?xml version="1.0" encoding="utf-8"?>
<s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
		  xmlns:s="library://ns.adobe.com/flex/spark"
		  xmlns:mx="library://ns.adobe.com/flex/mx"
		  width="400" x="32" y="25"
		  creationComplete="init();">
	
	<fx:Metadata>
		[Event('loadEmployees')]
	</fx:Metadata>
	
	<fx:Script>
		<![CDATA[
			public static const LOAD_EMPLOYEES:String = 'loadEmployees';
			
			public function init():void {
				dispatchEvent(new Event(LOAD_EMPLOYEES, true));
			}
		]]>
	</fx:Script>
	
	<mx:DataGrid id="employeesList" width="400">
		<mx:columns>
			<mx:DataGridColumn headerText="Name"  dataField="name"/>
			<mx:DataGridColumn headerText="Age"   dataField="age"/>
			<mx:DataGridColumn headerText="Email" dataField="email"/>
		</mx:columns>
	</mx:DataGrid>
</s:VGroup>