Skip to content

Revist table2 js/css to simplify styling and functionality setup #7789

Description

@Eetwalt

I'm thinking if we should revist table2 js/css. Feels like these setups would be a lot easier with 1 tablebody per virtual row. So we could then have the JS map the structure to a

<table>
<tbody>
<tr/>
<tr/>
</tbody>
<tbody>
<tr/>
</tbody>
<tbody>
<tr/>
<tr/>
<tr/>
</tbody>
</table>

And then I think a lot of things get a lot simplier. Eg. sorting, even/odd, and these

Not opposed to refactoring, if it would truly simplify things. Can't really tell from just thinking about it, but probably worth playing around with the idea. Even/odd I can see being easier, but sorting could be more difficult, depending on how jquery.tablesorter would handle this

Originally posted by @Eetwalt in #7783 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions