Example of itemRenderer which update data automatically within a DataGrid:
Click with the right button to obtain source code.
Downloads
Projects
Utilities
Friends
LinksExample of itemRenderer which update data automatically within a DataGrid:
Click with the right button to obtain source code.
Integration example of Spring and BlazeDS with Maven2.
Multiproject EAR:
- Flex 4
- Spring 3
- BlazeDS 3
Component update of ComboCheck 1.3 adapted to version of Flex 4:
Click with the right button to obtain source code.
For Eclipse to regcognize projects with Flex nature you need to edit .project file and make sure that the flex natures are the first in the list:
<natures>
<nature>com.adobe.flexbuilder.project.flexnature</nature>
<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
</natures>
Sometimes objects in a Flex DataGrid are more complex and we need to show other property level. There is an example of a renderer that allow to point the property to show and its level in the object.
private var items:ArrayCollection = new ArrayCollection ([
{
name:'Name 1',
level: {
level1:{label:'Level 1-1', value:101},
level1:{label:'Level 1-2', value:201}
}
},
{
name:'Name 2',
level: {
level1:{label:'Level 2-1', value:102},
level1:{label:'Level 2-2', value:202}
}
}
]);
[...]
<mx:DataGridColumn dataField="level.level1.label" headerText="Level"/>
Click with the right button to obtain source code.
for the icon set used in this blog.