Archive

Posts Tagged ‘List’

Deleting items in a List from an item renderer

September 23rd, 2009 1 comment

It’s easy to delete an item in a spark List from within an item renderer. This is handy if you have a List with a custom renderer that provides a button to delete the item that is associated with that renderer.
Read more…

Expanding item renderers in a DataGroup or List

July 18th, 2009 No comments

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.

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…

Zoom in on items in a List with a TileLayout

June 24th, 2009 9 comments

This sample demonstrates one way of modifying the postLayoutTransformOffsets property of an ItemRenderer in a List in order to have the items appear to zoom in when hovered or selected.
Read more…