Complex header colspan

Complex header colspan

tamertamer Posts: 3Questions: 0Answers: 0
edited October 2012 in DataTables 1.8
I use the following code for table header:

[code]


ID
Data Type
From
To
Sent
Received
Data QC


Company Name
Sender Name
Company Name
Date
Date
%
Date
%


[/code]

it should show the header cell labeled "From", and it will span two rows, so under it will be the header cells labeled "Company Name" and "Sender Name", and so on, it renders OK, but the problem is that there is no border between the top header cells, the ones that span 2 columns, the one's which cells labeled "From", "To", "Sent", "Received", and "Data QC".
The table is using the script "jquery.dataTables.min.js" version 1.8.0

Replies

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    I don't really understand the problem I'm afraid. Using your HTML above, it appears to do what you are looking for: http://live.datatables.net/oyecip/edit#preview

    Allan
  • tamertamer Posts: 3Questions: 0Answers: 0
    It appears to work fine here, don't know what's the problem in my site, thanks.
  • tamertamer Posts: 3Questions: 0Answers: 0
    edited November 2012
    The problem I have in all pages pf the site is that when I have a complex header, the upper cells which span for more than one row have no borders at the right.
This discussion has been closed.