Datatables with colspan in the body

Datatables with colspan in the body

Noodles12Noodles12 Posts: 110Questions: 40Answers: 2

I have a datatable with colspan in the body. I used the trick of "<td style="display: none;"></td>" mentioned somewhere before. It works fine; however, I have another table on the same page without colspan.
Because of this, the sizing of the tables looks off. I am not sure why table is not working here, but it works in my environment. Here is my code -

https://live.datatables.net/vopejugo/1/edit

Answers

  • kthorngrenkthorngren Posts: 20,793Questions: 26Answers: 4,860
    edited July 10

    Your test case doesn't execute properly but that's ok because the answer is that Datatables doesn't support colspan nor rowspan in the tbody. See the HTML requirements doc for details.

    Kevin

Sign In or Register to comment.