Use rowspan and colspan in tbody without errors?

Use rowspan and colspan in tbody without errors?

exelmansgraphicsexelmansgraphics Posts: 3Questions: 1Answers: 0

Hi,

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.

http://www.mediadigest.be/media-studies/managerial-staff-study/

thanks,

Bart

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 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.

    Allan

This discussion has been closed.