SitePoint Sponsor

User Tag List

Results 1 to 15 of 15

Threaded View

  1. #1
    SitePoint Addict
    Join Date
    Oct 2008
    Location
    Virtual World is my location
    Posts
    311
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Question Fixed Header and First Column in Table

    Hello

    I have a table like this

    Code:
    <div class="container">
    <table id="table1">
    <thead>
    <tr><th></th><th></th><th></th><th></th><th></th></tr>
    </thead>
    <tbody>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td></tr>
    </tbody>
    </table>
    </div>
    This is just an example. Actually the table has around 100 columns and over 200 rows. Hence, I tried using various jquery scripts like fixedheadertable, datables, fixedtable and so on. Without jquery the page takes just a few seconds to load. But as soon as I add the jquery script to fix the header and column, the page usually times out (a popup opens which says the script is taking too long to load) or page has become unresponsive and so on.

    Is there some script which could do the same thing fast in a few seconds without loading the page too much?

    Thanks
    Last edited by jaagare; Apr 24, 2013 at 03:23. Reason: forgotten to close the <tr>
    RecipesNext.com - recipes, kitchen queries, videos & more...
    BargainNext.com - coupons / deals / bargains / offers & more...


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •