Datatables with different headers and numbers of columns
Datatables with different headers and numbers of columns
racachow
Posts: 2Questions: 1Answers: 0
Hello,
Is it possible to do a table with a lot of headers and different numbers of columns, just like that?
I've looked for this in several forums, but I didn't found any solution.
Thanks a lot,
Answers
Datatables doesn't support that type of table layout. For sorting and searching purposes it requires the a consistent number of cells per row. See the HTML docs for more info.
Take a look at the RowGroup extension. You could create grouping rows that display the
HEADER X
andTitle 1....
rows. The RowGroup rows are not part of the Datatable but inserted for display purposes.Kevin
Hello Kevin.
Ok, thanks a lot.