Adding more th rows may not be enough for what I’m trying to achieve.
I need the headers to be a set of 2-3 rows, in which I’ll have both rowspan and colspan cells.
I noticed I cannot add rowspan to the header row.
How would you suggest I achieve this?
Thanks!
Mor
Hi,
thanks for your post, and sorry for the trouble.
Unfortunately, TablePress does not offer table head rows with more than one row. This is also the reason why rowspan is not possible there.
If it’s just about the look of a header row, you could turn off the “Header row” checkbox and simply style the body rows so that they look like header rows. You will however not be able to use the features of the DataTables JS library then, as that does not work with tables with rowspanned/colspanned cells.
Regards,
Tobias
Thanks, Tobias.
That’s what I figured out as my workaround 🙁
What do you mean by “that does not work with tables with rowspanned/colspanned cells”?
If I turn off the header row and just format all cells as I wish, I cannot define rowspan / colspan on this table?
Thanks!
Mor
Hi,
that sentence is only in regard to the JavaScript features (like sorting, search, pagination, etc.).
If you turn off the Header row checkbox, or use colspan/rowspan, then you can not use those features.
Regards,
Tobias
Hi,
sure, you are very welcome!
Best wishes,
Tobias