Archive

Posts Tagged ‘itemRendererFunction’

Grouping items in a Flex mobile List

November 30th, 2010 8 comments

Mobile applications often have lists that group items in some way. For example, a contact list might group names by the first letter of the contact’s first name. This post demonstrates how to write a Spark ItemRenderer to simulate this behavior.
Read more…

Different ways of assigning an item renderer in Flex 4

November 2nd, 2009 6 comments

This post looks at a couple ways of defining a custom item renderer on a DataGroup, but it also applies the same way to a SkinnableDataContainer, spark List, and any other spark components that support item rendering.
Read more…

Performance implications of the List itemRenderer vs. itemRendererFunction properties

July 10th, 2009 4 comments

The spark List component in Flex 4 has virtualization enabled by default. Virtualization is an optimization that only renders items that are currently in view which allows the List to support very large data sets. You can learn more about how virtualization works in Flex 4 by reading the Spark Virtualization Spec.
Read more…