Title: Multiple rows as table headers th
Last modified: August 30, 2016

---

# Multiple rows as table headers th

 *  Resolved [morsagmon](https://wordpress.org/support/users/morsagmon/)
 * (@morsagmon)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-rows-as-table-headers-th/)
 * Hi Tobias.
 * How can I set in my class for a group of tables, more than one row to be formatted
   as “th”?
 * Thanks!
    Mor
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [morsagmon](https://wordpress.org/support/users/morsagmon/)
 * (@morsagmon)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-rows-as-table-headers-th/#post-6250533)
 * 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
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-rows-as-table-headers-th/#post-6250669)
 * 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
 *  Thread Starter [morsagmon](https://wordpress.org/support/users/morsagmon/)
 * (@morsagmon)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-rows-as-table-headers-th/#post-6250674)
 * 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
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-rows-as-table-headers-th/#post-6250677)
 * 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
 *  Thread Starter [morsagmon](https://wordpress.org/support/users/morsagmon/)
 * (@morsagmon)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-rows-as-table-headers-th/#post-6250682)
 * OK, Clear. Thanks!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-rows-as-table-headers-th/#post-6250683)
 * Hi,
 * sure, you are very welcome!
 * Best wishes,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Multiple rows as table headers th’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [table headers](https://wordpress.org/support/topic-tag/table-headers/)
 * [th](https://wordpress.org/support/topic-tag/th/)

 * 6 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-rows-as-table-headers-th/#post-6250683)
 * Status: resolved