using colspan in row.add()
using colspan in row.add()
mjcordeiro
Posts: 1Questions: 1Answers: 0
Hello,
I have a DataTable and I've been able to add rows dynamically, with:
var table = $('#myTable').DataTable();
var rowNode = table
.row.add( [ lineNumber, kks, kks_descricao, estado] )
.draw()
.node();
Now, I want to make a colspan same way. How can I do that with row.add() , or is there another command for this?
Let's say, in 3rd row I want to rowspan "kks" and "kks_descricao".
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Sorry - DataTables does not support
colspan
orrowspan
in thetbody
regardless of how it is added.Allan