• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Freeze row mockup of Excel

 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sure there are plenty of questions in regards to this but I have yet to find a solution for it. Is there a way to freeze the top row of a table to allow the rest of the content to auto-scroll? I basically want to mimic what Excel allows but within a html table (or at least achieve it within HTML - using CSS, javascript, etc..,). Any suggestions would be appreciated. Thanks.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is tons of code and each browser requires different css/javascript to pull this stuff off.

Eric
 
Rob Hunter
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric, do you have a useful link for just IE for the moment? The entire table spans 100% of the browser window and the columns are based on percentage widths not absolute values. The content also flucuates a great deal as well so the data populating the table will change a great deal. If you could point me to something you've found useful I'd appreciate it. Thanks.
reply
    Bookmark Topic Watch Topic
  • New Topic