Hi, I think its better to use ItemRenderer instead of ItemEditor.
On Sat, Feb 26, 2011 at 5:53 AM, shanmugam flex <[email protected]> wrote: > Hi friends, > I am using Datefield in Datagrid.I am not able to click the datefield first > time.After giving tab only i can able to click the datefield. > > > ___________Saple code i used_____________ > > <mx:DataGridColumn headerText="Planned Date" dataField="planneddate" > editable="true" editorDataField="selectedDate" labelFunction="fnDateFormat"> > <mx:itemEditor> > <fx:Component> > <mx:DateField text="{data.planneddate}" > selectedDate="{DateField.stringToDate(data.planneddate,'DD-MM-YYYY')}" > enabled="true" editable="true" formatString="DD-MM-YYYY" /> > </fx:Component> > </mx:itemEditor> > </mx:DataGridColumn> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

