Also, note that the reason for the odd behavior is that TABLE must take one 
of the HTML elements that is allowed inside the <table> tag, such as tbody, 
thead, tfoot, tr, col, or colgroup). If you pass anything else, it will be 
wrapped in a TR by default.

Anthony

On Saturday, October 24, 2015 at 9:36:44 AM UTC-4, Anthony wrote:
>
> Rows objects have an .xml() method that serializes them to a SQLTABLE, so 
> when you include them directly in a view (e.g., {{=rows}}) or inside 
> another HTML helper (such as TABLE), you get a TABLE. In short, no need to 
> wrap it in TABLE().
>
> Anthony
>
> On Saturday, October 24, 2015 at 9:22:59 AM UTC-4, Edward Shave wrote:
>>
>> TABLE(rows) is a nice shorthand way to make a table but I'm getting a 
>> table within a table starting as below.
>>
>> <table><tr><td><table>...
>>
>> Is this right?
>>
>> Or should I not be doing this anyway?
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to