Tag Archives: DataGroup

Binding warnings when using Object in a List dataProvider

If you have built a custom item renderer for a DataGroup or List you may have come across warnings in your Flash Builder console output similar to this:

warning: unable to bind to property 'firstName' on class 'Object' (class is not an IEventDispatcher)

Continue reading Binding warnings when using Object in a List dataProvider

Expanding item renderers in a DataGroup or List

The spark DataGroup component is designed to take data items and pass them through an item renderer to create a visual representation of that data. In Flex 4 it is very easy to build custom item renderers.

This sample application demonstrates how you can create an item renderer that only shows some information by default and allows the user to drill down to see more information by clicking on an item or it’s associated “twisty” icon.

Continue reading Expanding item renderers in a DataGroup or List

Introduction to the DataGroup Component in Flex 4

DataGroup is a new component introduced in Flex 4 that is responsible for turning data items like Strings and Objects into visual elements. The process of turning boring old data items into a visual representation is called item rendering. DataGroup is the lightest weight component that deals with item rendering. It has no skin and no concept of selection. A SkinnableDataContainer is exactly the same as a DataGroup except it has a skin and a List provides selection functionality.
Continue reading Introduction to the DataGroup Component in Flex 4