How to format text in flex TextArea?
TextArea in flex doesn't render <TABLE></TABLE>
.
I want to display text in t开发者_开发知识库extarea in two columns.
Column1 Column2
Row1: Data, data, data row1
Row2 longer: Data, data, data row2
Depending on text width in Column1 text in Column2 will be shifted. So all rows in Column2 are going to be aligned. How can I do this without html <table>
?
I'm not sure if I understand you the right way, but why not just use raw text and insert fixed number of space between datas?
TextArea is only good enough to render normal text with little formatting like font/color/indents etc. htmlText support in flash/flex is very limited.
You can use the DataGrid control in Flex to render tabular data.
精彩评论