Hi , I came across a similar situation . I have used regular expressions to parse the html table string and disaplyed it using flex Grid component. Grid component is similar to HTML table . You can even extract attributes like span padding etc and apply that in Flex Grid.
Take a look at this link. http://subeesh.wordpress.com/ Subeesh --- In flexcoders@yahoogroups.com, "Battershall, Jeff" <[EMAIL PROTECTED]> wrote: > > Craig, > > See the note from Claus if you haven't already - he makes the important > point that if the data is in XHTML you'll be able to conver the data > into a format that could drive your datagrid very easily without string > parsing. Is that the case? > > Jeff > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Craig > Sent: Tuesday, May 20, 2008 5:40 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Handling html formatted tables in Flex > > > Jeff, Since you put it that way, I shall get to string parsing. I > really do appreciate your input. Craig > > > > --- In flexcoders@yahoogroups.com, "Battershall, Jeff" > <jeff.battershall@> wrote: > > > > "Too difficult"???? Having a feed that has UI embedded in it, is 'less > > > than optimum'. Ideally the data you'd be receiving would be in a UI > > aqgnostic format. That said, I think you'll have to get your string > > parsing skills up to snuff. You have, within Flash/Flex, a RegEx > > implementation that should help you do that. > > > > It seems a pretty large tangent to move to AIR just to solve this > > problem. I'd say its time to roll up your sleeves and learn string > > parsing. > > > > Jeff > > > > -----Original Message----- > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > > On Behalf Of Craig > > Sent: Tuesday, May 20, 2008 3:27 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Re: Handling html formatted tables in Flex > > > > > > My parsed data includes <table> <tr> and <td> commands which can't be > > read from datagrid, (I think)... the data is embedded in these tags, > > so getting it out would be too difficult. I found AIR <mx:HTML> > > window but have to evaluate distributing app as AIR. Do you have > > comment / other suggestion? CS > > > > > > > > > > --- In flexcoders@yahoogroups.com, "Battershall, Jeff" > > <jeff.battershall@> wrote: > > > > > > Use your parsed data to create a dataprovider for a DataGrid. > > > > > > Jeff > > > > > > -----Original Message----- > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > > > On Behalf Of Craig > > > Sent: Tuesday, May 20, 2008 9:51 AM > > > To: flexcoders@yahoogroups.com > > > Subject: [flexcoders] Handling html formatted tables in Flex > > > > > > > > > An RSS Feed providing quotes for my Flex application is outputting > > > an > > > HTML formatted table. I am able to parse everything out but can not > > > > display it with TextArea.htmlText as htmlText does not support > Tables. > > > > > Does anyone know of a way to display Table formatted html code using > > > Flex? There is probably an easy way to do it that I am missing. > > > Thanks, CS > > > > > > > > > > > > ------------------------------------ > > > > > > -- > > > Flexcoders Mailing List > > > FAQ: > > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > > Search Archives: > > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! > Groups > > > Links > > > > > > > > > > > ------------------------------------ > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > > Links > > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links >