Skip to content

responsive dt creates invalid html #372

@craigh

Description

@craigh

https://live.datatables.net/tuhikeno/1/edit?html,js,output

to see the errors, run the demo above and move the output to a new window, narrow the window to force the responsive plugin to work then validate the html in the window with W3C Markup validation service.

Once done you will see many errors like

Error: A table row was 6 columns wide and exceeded the column count established using column markup (4).

Obviously, this is the responsive plugin doing what it is intended to do, which is to hide some columns. Is there something datatables can do to update the layout to end up with valid markup also?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions