This content has been marked as final. Show 3 replies
You could use regular expressions and parse the field with a regular expression like this (you could parse it in many different ways):
See these help topics:
Introduction to Regular Expressions
Using Regular Expressions
Regular expression syntax
Thank you for your answer. So this can only be done using Actionscript, right?
I am kind of new to actionscript programming, as I am to Flex, but I am an adventurer, so I'll sort it out..
Just so I do not ask you to place a sample code, can you please just point me in the right direction?
In general, what I should do is an itemRenderer that takes the field data into actionscript and then turns it in two different variables separating it by the "T" character; or should I get the whole XML data, separate the field in two, turn all of it into a new array and THEN use that one as dataprovider for the datagrid?
It depends on how you want to use the data that is split from the date field. If the two parts will be manipulated and then go in one data grid column, then maybe you can do this in one itemrenderer, if the two parts will be placed in two columns, maybe you need two itemrenderers that basically do the same thing but take either the left part or the right part, though you should be able to create one renderer that can handle both cases.