Utilizing the google visualization table
to generate a html table
, I have successfully fixed the top section of the html using the stuckpart
div. This ensures that regardless of how I scroll, the button remains in place. However, I now aim to fix the table header
just below the button
. Here is my current layout:
<div class="stuckpart">
<button type="button">this button is fixeddddddd</button>
</div>
<div id="table_div"></div>
I've managed to achieve partial success with this setup: http://jsfiddle.net/RjHMH/95/
Upon inspection in Firefox
, it seems that the header class for the table is
google-visualization-table-tr-head
. Is there a way for me to lock this header in place while allowing the table body to scroll?