Questions tagged [tableheader]

133 questions
29
votes
4 answers

Can I have one HTML table header be over two table columns? Like merge and center in Excel?

I want to have one table header be centered over two table columns side by side. Is this possible?
Lizza
  • 2,769
  • 5
  • 39
  • 72
22
votes
3 answers

How do I make the text in the header of my table not bold?

I need to use a rowspan for my table, therefore I (believe) I must use a table header. However, using a table header makes my font bold, which is unwanted. For this HTML, how would I make sure the font in my table header isn't bold? Or, if it's…
Demi
  • 427
  • 1
  • 5
  • 7
19
votes
5 answers

How colSpan and row Span added to material table Header Angular 7?

I'm trying to add rowSpan and colSpan in Angular material Table header. Can anyone help me to achieve it. Below is the Attached Header I want to get using material table
17
votes
1 answer

How can I repeat the headers of an iTextSharp PdfPTable on each page?

How can I get iTextSharp to repeat the headers of a PdfPTable on each page of the generated PDF?
user147031
  • 183
  • 1
  • 2
  • 6
16
votes
3 answers

SlickGrid Column Groups

Is there a way to add a column groupings? For example: Unit 1 | Unit 2 | Pre Mid Post | Pre Mid Post | --- --- ---- | --- --- ---- | 2 4 5 | 3 4 4 | 1 2 4 | 3 4 5 | Basically, I need a header row for Unit…
Varmint
  • 161
  • 1
  • 4
12
votes
3 answers

Why does GridView not render the header row as thead after postback?

Setting TableSection = TableRowSection.TableHeader after the grid is bound works initially, putting the header row in thead. After a postback (where the grid is not re-bound) the header row reverts to the table body. I expect the header row to stay…
lincolnk
  • 11,218
  • 4
  • 40
  • 61
7
votes
4 answers

python xlsxwriter: Keep header in excel when adding a table

I have a panda dataframe that I write to a xslx file, and would like to add a table over that data. I would also like to keep the headers that I have already written, instead of adding them again. Is that possible? Example: import pandas as…
Doellner
  • 271
  • 2
  • 7
7
votes
2 answers

How to: Fixed Table Header with ONE table (no jQuery)

I know, there are at least 3 dozen questions like this on stackoverflow and still, I could not make this happen: A simple table where thead is sticked/fixed at the top, and the tbody is scrolled. I tried so much in the past days and now I ended up…
ProblemsOfSumit
  • 19,543
  • 9
  • 50
  • 61
6
votes
2 answers

SlickGrid-rotated column headers

How can I rotate my column headers 90 degrees? I've tried this, but haven't been able to get it to work. .slick-column-name { -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); display: block; vertical-align:…
brad miley
  • 229
  • 2
  • 4
5
votes
2 answers

UITableView - Table Header View leaves spacing if view is removed

I have a UITableViewController that will display a table view header (NOT section header) if certain criteria is met. Displaying the controller with or without the header view on load works just fine. But if I show the header, then remove it, the…
JimmyJammed
  • 9,598
  • 19
  • 79
  • 146
5
votes
1 answer

DIV floating above a TH for a scrolling table with fixed headers, but I can't center the header

Using the suggestions of this fiddle I made a scrolling table with fixed headers: