Have you tried passing table components as arguments?
TABLE(THEAD(), TBODY(), THEAD(), TBODY(), ...)

You could explore each table helper instance and extract the parts you
want to nest and then in a view do something like this:
<table>
{{ for table in tables:}}
  {{ table.elements("thead")[0] }}
  {{ table.elements("tbody")[0] }}
{{ pass }}
</table>

Ore use a similar workaround with other helper methods.

Anyway, if nested tables are valid HTML there should be a way of
passing TABLE instances as TABLE arguments

On 29 ene, 18:10, Tsvi Mostovicz <ttm...@gmail.com> wrote:
> Hi all,
> I'm trying to get the following HTML structure using HTML helpers:
>
> <table><thead>...</thead>
> <tbody>...</tbody>
> <table><thead>...</thead>
> <tbody>...</tbody>
> </table></table>
>
> AKA nested tables.
> For some reason when I put the TABLE helper within another TABLE
> helper, the internal one gets surrounded by tbody, tr and td causing
> it not to show properly. Does anyone have an idea how to fix this
> behavior?
>
> Thanks,
>
> Tsvi
>
> Sent from my phone

Reply via email to