Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Flex Dataprovider Data Provider Controls in Flex

Related Tutorials


 
 

Share on Google+Share on Google+

Data Provider Controls in Flex

Advertisement
All list based controls and many of the Flex framework controls are called data provider controls since they represent data from a data provider.

Data Provider Controls in Flex

     

All list based controls and many of the Flex framework controls are called data provider controls since they represent data from a data provider.
All data provider controls consist of one common property dataprovider that populates data from an ArrayCollection object, an XMLListCollection object or a custom collection.

  Data provider control requires data for display or user interaction. This data comes from ArrayCollection, XMLListCollection and custom collections. Instead of these collection you can also use the raw objects such as an Array of strings or objects are wrapped in collections when ever you use it as the value of the data provider property. In few circumstances raw objects are not much effective like :

  1. Raw objects are not well for those condition where the data changes frequently. Since the dataprovider does not have notification about the data changes into the base objects. The components are not updated until they are not reloaded.

  2. These objects does not provide functionality of data accessing, sorting, filtering and other collection functionalities.

Here is the list of some controls that are having the "dataprovider" property:

  • List control
  • HorizontalList control
  • TileList control
  • DataGrid control
  • Tree control
  • ComboBox control
  • Menu control
  • MenuBar control
  • Button Bar control
  • Color Picker control

  

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 16, 2009

Related Tutorials

Discuss: Data Provider Controls in Flex  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com