Item Editor Size and Position
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
[Bindable]
private var myDP:Array = [
{label: "1", datePosted: new Date(2006, 10, 23)},
{label: "2", datePosted: new Date(2006, 7, 20)},
{label: "3", datePosted: new Date(2006, 5, 11)}
];
</mx:Script>
<mx:DataGrid dataProvider="{myDP}" editable="true" variableRowHeight="true" width="50%">
<mx:columns>
<mx:DataGridColumn dataField="label" headerText="Label" />
<mx:DataGridColumn dataField="date" headerText="Date"
itemRenderer="mx.controls.DateField" editorDataField="selectedDate" editorXOffset="10" />
</mx:columns>
</mx:DataGrid>
</mx:Application>
Related examples in the same category