1 Reply Latest reply on Jan 14, 2010 10:52 AM by Gregory Lafrance

    why label function is associated with  List Based Components only

    kiran7881 Level 1

      Hi ,

       

      I read that  labelfunction attribute of an List Based Component   will be used for Manipulating data .

       

      Please tell me why label function is associated with  List Based Components only like (ListBox , Combo Box , DataGrid) .

       

      I mean to ask Why  it is  not applicable to a TextInput , as we may require to manipulate the data  and then  produce it  inside a TextInput??

       

      Thanks for reading .

        • 1. Re: why label function is associated with  List Based Components only
          Gregory Lafrance Level 6

          I think its because list based data is more complex, and may require examining the data and getting the data to display. Also, list based controls use item renderers.

           

          You can certainly implement a change event handler for controls that do not implement the labelFunction property.

           

          If this post answers your question or helps, please mark it as such.


          Greg Lafrance - Flex 2 and 3 ACE certified

          www.ChikaraDev.com

          Flex / AIR Development, Training, and Support Services