Flex AdvancedDataGrid groupIconFunction

Sep 2nd, 2010 | Posted by Michael

Use the groupIconFunction properties of the AdvancedDataGrid class to define callback functions to control the display of the leaf nodes of the navigation tree.
The following example uses the groupIconFunction property to display a custom icon for the top level node of the navigation tree, and display the default icon for all other leaf nodes of the tree.

Flex4 Collection filterFunction and add item index column

Sep 1st, 2010 | Posted by Michael

Following example show how use Collection(ArrayCollection or XMLListCollection) filterFunction to change data view and how use ActionScript to add item index column.

Flex4 DataGrid with MXItemRenderer and setting row height

Aug 31st, 2010 | Posted by Michael

FlashBuilder 4 is planning a new ItemRenderer wizard/tool to help folks create ItemRenderers for Spark List controls. Because Spark doesn’t yet have a Tree or DataGrid, and because MX Tree and MX DataGrid have a different ItemRenderer contract, the new tool will not be usable in all list-type controls and folks will have to learn both ItemRenderer contracts.

Flex4 two way data binding

Aug 29th, 2010 | Posted by Michael

How two way binding can work with binding value conversion.Following example will show how it work.

com/MyTwoWayBinding.as

Flex4 two way data binding

Aug 29th, 2010 | Posted by Michael

A two-way data binding expression generates two binding expressions, one with the given source and destination, and the other, with the source and destination reversed.

Flex4 DataGroup and ItemRenderer (Include outerDocument Usage)

Aug 28th, 2010 | Posted by Michael

The DataGroup class is the base container class for data items. The DataGroup class converts data items to visual elements for display. While this container can hold visual elements, it is often used only to hold data items as children.

Flex4 BorderContainer backgroundImage and BitmapImage

Aug 27th, 2010 | Posted by Michael

Following example show BorderContainer backgroundImage and BitmapImage usage.

Flex4 BorderContainer layout and backgroundFill

Aug 27th, 2010 | Posted by Michael

Following example show BorderContainer how use AS to add layout and draw backgroundFill .

Flex4 DropDownList with itemRenderer

Aug 26th, 2010 | Posted by Michael

Following example show  DropDownList with itemRenderer.

comp/MyDropDownListItemRenerer.mxml

Flex4 DropDownList

Aug 26th, 2010 | Posted by Michael

Following example show how to set up a DropDownList without skin or itemRenderer.

Flex4 ComboBox with prompt and setting editable

Aug 26th, 2010 | Posted by Michael

Following example show how spark ComboBox setting prompt and disable editable.

Flex4 ComboBox with icon

Aug 25th, 2010 | Posted by Michael

Following example show Flex4 ComboBox how to use skin to display icon properties .

skins/MyComboBoxSkin.mxml