31 Ott

Using a Flex TextArea control as a drop-in item editor

mxml: <?xml version=”1.0″ encoding=”utf-8″?> <!– http://blog.flexexamples.com/2007/09/30/using-a-flex-textarea-control-as-a-drop-in-item-editor/ –> <mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”vertical” verticalAlign=”middle” backgroundColor=”white”> <mx:XML id=”itemsXML” source=”data/items.xml” /> <mx:DataGrid id=”dataGrid” dataProvider=”{itemsXML.item}” variableRowHeight=”true” editable=”true” width=”100%” height=”100%”> <mx:columns> <mx:DataGridColumn id=”idColumn” dataField=”@id” editable=”false” headerText=”ID” /> <mx:DataGridColumn id=”descColumnTextInput” dataField=”@desc” editable=”true” wordWrap=”true” headerText=”Desc (TextInput)” /> <mx:DataGridColumn id=”descColumnTextArea” dataField=”@desc” editable=”true” wordWrap=”true” itemEditor=”mx.controls.TextArea” editorUsesEnterKey=”true” headerText=”Desc (TextArea)” /> </mx:columns> </mx:DataGrid> </mx:Application> items.xml <?xml version=”1.0″ encoding=”utf-8″?> […]

24 Gen

Flex Developer toolbox

Here a few of useful tools, framework and library  for a fast build of rich internet application with Flex: Tools – Flex Builder (Plugin): Adobe® Flex™ Builder™ 2 is an Eclipse™ based IDE for developing rich Internet applications (RIAs) with the Adobe Flex framework. – Eclipse: an open source community whose projects are focused on […]