Skip to main content
April 10, 2010
Question

Table in TLF?!

  • April 10, 2010
  • 1 reply
  • 3042 views

hi folks,

I have a flex project that I want to impelemet my poems with TLF?

Can I have something like <tr>, <td> and totally table?!

I know, theer is no table support in TLF but I want to know is there any way to simulate that?!

something like this:



Poem 1st hemistichspacePoem 2nd hemistich
Poem 1st hemistich of 1st bits (justify)blank part for making space inherit of my project withPoem 2nd hemistich of 1st bits (justify)
Poem 1st hemistich of 2nd bits (justify)Poem 2nd hemistich of 2nd bits (justify)
Poem 1st hemistich of 3th bits (justify)Poem 2nd hemistich of 3th bits (justify)



I want to make it with <s:div>, <s:span> ,  ... and import it with textConverter to a RichEditable text control?

(of Course, there is no header and border in my mind for my project)

Can I?! and If we can do this? how can I impelement somthing like this?!


TanQ

BornA

This topic has been closed for replies.

1 reply

Inspiring
April 10, 2010

As you know, there is no support for tables at all, so I'm creting my own table component for the TLF. Here's a link to a video screencast of my table compoennt.

This component is parsing the HTML and rendering the table. It supports styles. Here is the HTML that is used in the video:

private const tableSample3:String = '<table Border="1" CELLPADDING="2" cellSpacing="2"> <tr><td>1</td><td>1</td></tr> <tr><td>1</td><td>1</td></tr> <tr><td>1</td><td>1</td></tr> <tr><td>1</td><td>1</td></tr> </table>';

http://oscar-mejia.com/assets/videos/flex-tables.mov

I'll post more information about this component in my personal blog: www.oscar-mejia.com

April 11, 2010

TanQ so much oscar, great work
I'll check it now.

But there is a question here: can we use a TLF object with RTL direction inisde of your customize table component?!

And another one: how we can access to your nice components?!

Cheers

BornA