Flex4 ItemRender in DataGridColumn

<mx:DataGridColumn headerText="Title">
	<mx:itemRenderer>
		<fx:Component>
			<mx:LinkButton textDecoration="underline"
				          label="{data.title}"
				          click="{outerDocument.popupDetailHandler(data as ActionItemVo);}">
				<fx:Script>
					<![CDATA[
						import com.amaxgs.internals.vo.ActionItemVo;
					]]>
				</fx:Script>
			</mx:LinkButton>

		</fx:Component>
	</mx:itemRenderer>
</mx:DataGridColumn>

 

你可能感兴趣的:(datagrid)