thank you

I actually tried it first, the problem is the date is not set in a method call, 
dont know why, I tried to set it in the creation complete and it works fine.

Thank you

--- In flexcoders@yahoogroups.com, Alex Harui <aha...@...> wrote:
>
> Set selectedDate, not text?
> 
> 
> On 6/2/10 1:08 PM, "Goutham" <goldensu...@...> wrote:
> 
> 
> 
> 
> 
> 
> Hi
> 
> I have a date stored in the database along with other details.
> have a datagrid that shows all the details, clicking on a row pops up a 
> titlewindow showing all the details of that row which can be editable as in a 
> form.
> 
> the problem is, I am not able to fill the datefield from the value in the 
> dataobject
> 
> <mx:DateField id="date" selectedDate="{new Date()}" formatString="MM-DD-YYYY" 
> />
> 
> as code:
> 
> tried
> date.text = selectedRow.Date (date value from the database)
> 
> doesn't give any errors, but the datefield is not filled with the date
> 
> 
> 
> 
> 
> 
> --
> Alex Harui
> Flex SDK Team
> Adobe System, Inc.
> http://blogs.adobe.com/aharui
>


Reply via email to