different columns number
different columns number

hi,
I have a table like this:
<th><td>col 1</td><td>col2</td></th>
<tr><td colspan="2">subheader</td></tr>
<tr><td>val 1</td><td>val 2</td></tr>
If I remove the subheader row, works perfectly, else in console I see this error:
nTd is undefined. I understand it must have to do with columns number, but how can I solve this?
thanks
This discussion has been closed.
Replies
Hi @giorg ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Hi @colin,
thanks for your answer. Apparently datatables don't support table body with colspan yet, that must be my problem...