112 responses to “jQuery Scrollable Table Plugin”

  1. rufus

    In Chrome 15, the table headers don’t line up with the table content at all.
    @Jacob: That code needs to go in your tag where you declare the scrollable table, after that declaration. Be careful with the fancy quotation marks if you copy/paste from this site.

  2. Jacob

    Hi Rufus,

    thanks for your reply. Much appriciated.
    I’ve played around a lot with the entire code and still my tables doesn’t align properly with the content. I’m hoping to get it work for Firefox 8.0.
    Were there ever a fix for it? My content is loaded through a php script and to be real honest I am not a guru on JavaScript.

    Thanks for your time and advice!

  3. Derick Ablong

    Hi,

    I use safari in mac. I used the plugin and it was very useful to me, but there’s a weird thing i’ve noticed. At first load, the plugin doesn’t work, but I’ve tried to reload it again it work.

    This always happen when the time i run it.

    Here’s my code:

    /**/

    Please let me know if there’s something that i’ve not correctly used.
    Derick

  4. Raphaël

    Nice job. I’am trying to adapt the table lenght on window resize this way :

    $(window).resize(function() {
    var h = $(window).height() - 200;
    $(".tablescroll_wrapper").height(h);
    });
    //200 is an example corresponding to the total top and bottom header and footer of my page

    With full screen, if ever vertical scroll is not necessary, then, on window resize, a vertical scroll appears. This is good, but an horizontal scroll appears also… due to the the width change when the vertical scroll appears. is there a way to achieve this ?

  5. rufus

    My alignment issue was caused by borders. They need to be consistent in the and .

  6. Cman

    I am using ajax to update my table. When my table is updated or reloaded, the headers/pagers are being recreated each time? Any way to get around this?

  7. Purna

    i can see scroll bar after my page got load. this is fine.

    i have search button, on search button click i am rendering html table and setting like table.html(renderhtml) that time it shows 2 tables. why it is like that.

  8. David Phillips

    This plugin is interesting, but alters hard-coded widths, and the headers and footers do not line up anymore (WIN 7 IE8)

    Speaking of footers, you need a little HTML 101 because you do not understand the basic markup.
    table
    thead
    TFOOT
    tbody
    See reference before you dismiss me…
    w3schoolscomtagstag_tfoot.asp

    Nice try, but try and tweak it to where it doesnt alter what I took time to write… it also will not work “out-of-the-box” with jquery.tablesorter

    too “buggy” for my tastes…

  9. iand109

    Hi,
    I have got this working just about as I want it to – but I now have a problem. I need to use Javascript to access various cellTexts of the rows in the tHead and the tFoot sections of the table. I just can’t seem to do that, I can only get rows in the tBody as this seems to have rearranged the header and footer elements of the table in such a way that I can’t get them – can you help?

  10. CineWeekly

    My header isn’t lining up with the scrollable content. It’s like it’s ignoring the cellspacing and cellpadding and something else has to be in the equation. I’ve removed all CSS and the problem persists. It has to be in the jQuery.

    http://www.cineweekly.com/blogs/gallery.html

  11. sandeep

    This is nice jquery for use of table body scroll . but it’s working only whit 1 table on a page if there are more than 1 table than it doesn’t works .
    Is there any other method to use this or it works only with 1 table on a page

  12. GT

    Here’s how I overrode the widths in order to make the table width resize and zoom properly:

    .tablescroll_head
    {
    font-size: 11px;
    font-weight: bold;
    background-color: #eee;
    border-left: 0;
    border-top: 0;
    margin-bottom: 0;
    width: 100% !Important;
    }

    .tiTable /* class for my table element */
    {
    width: 100% !Important;
    border-collapse: collapse;
    display: table;
    }

1 3 4 5

Leave a Reply