Datatables with colspan in the body

Datatables with colspan in the body

Noodles12Noodles12 Posts: 113Questions: 41Answers: 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: 21,330Questions: 26Answers: 4,951
    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.