Hi I am using mx.controls.LinkButton as itemrenderer in datagrid. But the label is not displayed of the LinkButton. I am using the below sample code. I know it is very simple. I am missing something... Please help.
Thanks ilikeflex <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top" creationComplete="init()" horizontalAlign="center" backgroundGradientColors="[0x000000,0x323232]" paddingTop="0" viewSourceURL="srcview/index.html"> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var collection:ArrayCollection = new ArrayCollection(); var processObject:Object = { label:"Process1", code1:"1", code2:"0"}; var processObject2:Object = { label:"Process2", code1:"0", code2:"1"}; public function init():void { collection.addItem(processObject); collection.addItem(processObject2); } ]]> </mx:Script> <mx:DataGrid dataProvider="{collection}" width="100%" height="100%"> <mx:columns> <mx:DataGridColumn dataField="label" headerText="Process" itemRenderer="mx.controls.LinkButton"/> </mx:columns> </mx:DataGrid> </mx:Application>

