Help: How to create a table?

Hi,

I am new to corona and lua, my question is how to create a table?.

Not an array or table like this t[a] = 123…, rather how create a table of contents like this

table2.gif

I hope you can help me, thanks.

I think the cells could be rectangles with grey fill and black border. The text can be made to wrap within each cell and truncated if it runs too long using the newText() function.

If you are thinking about how to render an html table, so that the cells grow in height (in this case) to allow all the text to be properly fit in, your best bet is probably to render a .html file to the temporary directory and display it using a web popup (native.* library.)

I think the cells could be rectangles with grey fill and black border. The text can be made to wrap within each cell and truncated if it runs too long using the newText() function.

If you are thinking about how to render an html table, so that the cells grow in height (in this case) to allow all the text to be properly fit in, your best bet is probably to render a .html file to the temporary directory and display it using a web popup (native.* library.)