all groups > flash data integration > september 2005 >
You're in the

flash data integration

group:

Formatting Date in Column of DataGrid



Formatting Date in Column of DataGrid Sean Rhea
9/22/2005 12:00:00 AM
flash data integration: Hi guys,

I have a WebServiceConnector component which is bound to a DataSet component,
which is in turn bound to a DataGrid component. All is well except that I
cannot figure out how to reformat the returned date in a specific column of the
DataGrid. It appears in "Wed Jul 6 23:00:00 GMT-0500 2005" format and I want it
in "MM/DD/YYYY" format. I have tried selecting the appropriate field from the
results array in my WebServiceConnector and changing the formatter to "Date"
(the data type is already recognized as date) and then setting the formatter
options to "MM/DD/YYYY", but nothing happens (i.e. it still shows up with the
old format).

Any ideas?
Re: Formatting Date in Column of DataGrid Mark.P.
9/25/2005 12:00:00 AM
I just did pretty much the same thing but using the XMLConnector so it "should"
(I hope) work for you too. In the WeServicesConnector change the encoder to
"Date" and the Options to show your current format the way it is when it comes
into Flash. In the DataSet Component change the format to Date and the Options
to what you need.

Re: Formatting Date in Column of DataGrid Sean Rhea
9/26/2005 3:08:15 PM
AddThis Social Bookmark Button