Tag Archive for 'arraycollection'

31
Jan

Creating an auto-scrolling DataGrid control in Flex

In a previous example, “Auto-scrolling a TextArea control in Flex”, we saw how you can auto-scroll a Flex TextArea control when new content is added by setting the verticalScrollPosition property to the value of the maxVerticalScrollPosition property.

The following example shows how you can auto-scroll a Flex DataGrid control using the ArrayCollection object’s collectionChange event, and the verticalScrollPosition and maxVerticalScrollPosition properties

Full code after the jump.

Continue reading ‘Creating an auto-scrolling DataGrid control in Flex’

14
May

Determining when an ArrayCollection changes in Flex

The following example shows how you can detect when a Flex ArrayCollection has changed (items added, removed, refreshed) by listening for the collectionChange event.

Full code after the jump.

Continue reading ‘Determining when an ArrayCollection changes in Flex’

10
May

Displaying specific items from an ArrayCollection in Flex

The following examples show how you can display specific items in a Flex ArrayCollection using the getItemAt() method and the array access operator ([]).

Full code after the jump.

Continue reading ‘Displaying specific items from an ArrayCollection in Flex’

15
Apr

Creating a view cursor on an ArrayCollection in Flex

The following example shows how you can create a view cursor to find a specific item within an ArrayCollection.

Full code after the jump.

Continue reading ‘Creating a view cursor on an ArrayCollection in Flex’

13
Apr

Creating a pop up TitleWindow using the PopUpButton control in Flex

The following example shows how you can create a pop up TitleWindow container using the Flex PopUpButton control.

Full code after the jump.

Continue reading ‘Creating a pop up TitleWindow using the PopUpButton control in Flex’

12
Mar

Using a CheckBox to filter items in a DataGrid in Flex

The following example shows how you can filter items in a Flex DataGrid using a CheckBox control, and the ArrayCollection class’s filterFunction property.

Full code after the jump.

Continue reading ‘Using a CheckBox to filter items in a DataGrid in Flex’

27
Jan

Using a CheckBox control as a list item renderer in Flex

The following example will show you how you can use a CheckBox control as a custom item renderer in a List control in Flex.
I haven’t done a lot of testing yet, so if you have any tips/suggestions/improvements, please, share them in the comments.

Full code after the jump.

Continue reading ‘Using a CheckBox control as a list item renderer in Flex’




July 2009
M T W T F S S
« Jun    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Badge Farm

  • Powered by Redoable 1.2
  • Cornify
  • Feeds burnt by Feedburner
  • Feed