Item renderer for DataGroup
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:s="library://ns.adobe.com/flex/spark"> <mx:String id="txt">this is a test</mx:String> <s:DataGroup itemRenderer="spark.skins.spark.DefaultComplexItemRenderer"> <s:dataProvider> <mx:ArrayCollection> <mx:Label text="DefaultComplexItemRenderer." /> <mx:Button label="button 1" /> <s:DropDownList dataProvider="{new ArrayCollection(txt.split(' '))}" /> <mx:CheckBox selected="true" /> <mx:Button label="button 2" /> </mx:ArrayCollection> </s:dataProvider> </s:DataGroup> </mx:Application>