Use rowspan and colspan in tbody without errors?

Use rowspan and colspan in tbody without errors?

exelmansgraphicsexelmansgraphics Posts: 3Questions: 1Answers: 0


I've used DataTables 1.9 with tables using rowspan and colspan. Everything worked fine. Now, with 1.10 rowspan and colspan messes up DataTables and throws JavaScript error(s).

I think that rowspan and colspan are rather mandatory options in my opinion to create some nicer table formats.

I had no JS errors in DataTables 1.9, but there's one now in 1.10.



This question has an accepted answers - jump to answer


  • allanallan Posts: 56,187Questions: 1Answers: 8,897 Site admin
    Answer ✓

    DataTables has never supported colspan or rowspan in the tbody. If it worked at all before, then it was entirely accidental (although i'm very surprised if it did work before, since 1.9- has code specifically designed to detect that and give an error).

    I fully agree that it would nice excellent to add support for these two attributes, but it adds a lot of complications.


This discussion has been closed.