Questions tagged [fixed-header-tables]

Tables in which the first row (typically holding the column names) is fixed (i.e.: it doesn't scroll).

Tables in which the first row (typically holding the column names) is fixed (i.e.: it doesn't scroll).

142 questions
0
votes
0 answers

Fixedheader jquery

I'm trying to add fixedheader feature to my datatable. I added the following statement: new FixedHeader( oTable); oTable = $('#mytable').dataTable({ "aaSorting": [ [0,'asc'] ], "aoColumns" : dataTableColumns, "oLanguage": { …
user1165952
  • 267
  • 1
  • 4
  • 16
-1
votes
2 answers

Set the first tr to fixed without losing the width

this is my fiddlejs: [https://jsfiddle.net/uj8gbeL1/] Im trying to make fixed the first row of the table, but when i try to set the style postion:fixed, this row has a different width How can i fix this issues without setting a "static" width to…
user222137
  • 41
  • 6
-1
votes
1 answer

dataTable - need header row to be fixed

data table header moves with the table. i tried adding into my code what the Similar Questions had to offer, and more. Nothing seems to work. Can someone view my code and offer suggestions on how to fix the header row? code:
dcparham
  • 291
  • 4
  • 17
-1
votes
1 answer

Change Javascript for multiple id table

I try to fix header table using this code CODE Here, but my real table id is: So how can I change the Javascript to use that?
appsofiane
  • 103
  • 2
  • 7
-1
votes
2 answers

A tr element in a table is discarding the top CSS property applied to it

I am working on a project in which i have code structure as -
....
harsrawa
  • 422
  • 5
  • 18
-1
votes
1 answer

Jquery add width to last th

I am working on a fixed table header where I have a scrollbar. I am taking 2 tables one on top and other on bottom. Top table will have headers (Name, Address, Phone, Details), bottom table will have all rows with details. I have to add extra width…
Kurkula
  • 6,386
  • 27
  • 127
  • 202
-2
votes
2 answers

table-layout: fixed percentage and calc not working

I have a table with many rows, for which I want to overlay a fixed table header when scrolling. The layout of the page is responsive with a fixed with left hand menu that can have 1 of 2 fixed widths. I am having problems aligning the columns in the…
jdog
  • 2,465
  • 6
  • 40
  • 74
1 2 3
9
10