Hi Preetham Hegde, Thanks for the reply.
No it is labelFunction only , not an attribute I used like this private function empName(item:Object):String{ if(item.empObj != null){ return item.empObj.name; }else{ return ""; } } Regards, Phani. On Thu, Feb 10, 2011 at 6:02 PM, Preetham Hegde <preethamheg...@gmail.com>wrote: > *do you have empName() function or did u mistake that with labelField.* > *and in case if you are accessing attribute then you should prefix @ to > your* > *attribute name. * > * > * > Regards, > Preetham Hegde > > > > > On Thu, Feb 10, 2011 at 5:10 PM, phani pvr <pvr87ph...@gmail.com> wrote: > >> Hi All, >> >> I am getting list from backend and assigned that list to combo box. >> Like this >> <mx:comboBox dataprovider={empList} labelFunction="empName"/> >> >> here i am getting the data. But the problem is that i am unable to see it. >> Data is not visible. >> >> Please any one help me regarding this. >> Thanks in Advance. >> >> Regards, >> Phani. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to flex_india@googlegroups.com. >> To unsubscribe from this group, send email to >> flex_india+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_india@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.