Dynamic Rowspan
Dynamic Rowspan
nsuarezvalderrama
Posts: 3Questions: 1Answers: 0
Hi, has anyone managed to draw dynamic rowspan in DataTable?
This discussion has been closed.
Answers
The HTML requirements docs state this:
Kevin
Thanks kthorngren, but that is the problem, I need rowspan in the tbody and don't find a way for solve that problem,
Maybe we can offer alternatives. What are you trying to do with the rowspan? Maybe you can build a non-datatable example of what you are trying to do.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Datatables expects a one-to-one mapping of cells in the rows and columns to perform the Datatables functions like sorting and searching. This is why rowspan and colspan aren't supported in the
tbody
.Kevin
I want something like this but number of rowspan are dynamic, no always is the same number.
Yep, colspan isn't supported - see the manual:
Colin
Maybe the RowGroup extension will do what you want.
Kevin