colspan not working with single head row
colspan not working with single head row
According to https://datatables.net/examples/basic_init/complex_header, colspan
is fully support in header rows.
This is working well in that example, obviously, where the header has multiple rows.
However, if a <thead>
only has a single <tr>
with cells that use colspan
, a JavaScript error is raised.
Here is a test case with a single header row and one colspanned cell in it:
https://live.datatables.net/nipufeda/1/
However, when duplicating the row (I prepared that as a HTML comment in the test case), everything works fine again.
Replies
That's unexpected. Thanks for letting me know. I'll take a look into it.
Allan