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
Hi Allan!
Sure, no problem! Thanks for taking a look!
Coming to think if it, should I maybe have better created a GitHub issue? I can of course do that as well. Not sure what you prefer for things like this.
Best wishes,
Tobias
Here is fine. Apologies for the fact that I've not been able to look into it yet.
Allan
Finally fixed here. It will be in the next release.
Allan