"Requested unknown parameter" when colspan is used
"Requested unknown parameter" when colspan is used
Jeff A
Posts: 50Questions: 8Answers: 0
Im getting the "Requested unknown parameter" warning because my table has a row which uses colspan. See attached image.
<tr class="t2_tr">
<td colspan="15" class="t2_hc_line table-header-lines">Cold War Kids - First</td>
</tr>
Is there a setting I can use to avoid this warning?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
colspan (and rowspan) in the tbody are not supported by DataTables.
that's a shame. so there is no workaround?
I don't think so; but you could try a forum search, I know there have been other posts about this.
Perhaps I could use javascript/jquery to remove the colspan attribute for that row..
Thanks again for such quick response.
Jeff
Perhaps they could add a property for future to ignore rows with colspans.
@tangerine is correct -
colspan
androwspan
are not supported in thetbody
of a DataTable at this time. They add a lot of complexity. It is something i would like to add in future, but I don't think it will be any time soon.Allan