Components Flex


    
    xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx">
     
         
        public function myLabelFunc(item:Object):String { 
            return item.data + ", " + item.label; 
        }