You want labelFunction()
It will replace dataField for displaying column data in deeply nested nodes. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Friday, September 14, 2007 4:57 AM To: [email protected] Subject: [flexcoders] DataGrid & XMLList Problem Hii I have code something like this: <mx:DataGrid id="categoryGrid" dataProvider="{XML(categoryXMLList).label}"> <mx:columns> <mx:DataGridColumn headerText="Category" dataField="{myfunction(data.category_key)}"/> <mx:DataGridColumn headerText="Type" dataField="keyword_type_id"/> <mx:DataGridColumn headerText="Value" dataField="keyword_value_id"/> </mx:columns> </mx:DataGrid> So, in my DataGridColum, I want to call a function for the datafield which returns a string value to display. Can someone please guide me to solve this issue. Thanks, Manu. -- View this message in context: http://www.nabble.com/DataGrid---XMLList-Problem-tf4441089.html#a1267121 7 <http://www.nabble.com/DataGrid---XMLList-Problem-tf4441089.html#a126712 17> Sent from the FlexCoders mailing list archive at Nabble.com.

