Skip to content

insert thead into table #61

@luman-web

Description

@luman-web

Hi. First of all I want to thank you for this module, it works really well.
I'm facing with little problem. The code below is rendering table. The table has tbody tag, but also i'd like to have thead tag in the table. Please advise how can I insert thead with its th in the table, if it's possible of course. Thank you.

<virtual-list
:size="20"
:remain="10"
rtag="table"
wtag="tbody"
>
<tr
v-for="(row, ir) in sheet"
:key="ir"
>
<td>{{ +ir + 1 }}</td>
<td
v-for="(cell, ic) of row"
:key="'c' + (ic + 1) + 'r' + (ir + 1)"
v-html="cellDisplayValue(ir + 1, ic + 1)"
>
</td>
</tr>
</virtual-list>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions