Responsive jQuery Sticky Table Column Plugin - stickyTableColumns

Responsive jQuery Sticky Table Column Plugin - stickyTableColumns
File Size: 6.7 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

stickyTableColumns is a jQuery plugin that makes multiple columns (starting with column 1) sticky when you scroll horizontally through a large table containing lots of columns.

How to use it:

1. Include both jQuery library and the jQuery stickyTableColumns plugin on the webpage.

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="jquery.stickyTableColumns.js"></script>

2. Call the function on the table element to make the first column sticky when scrolling.

$('.table').stickyTableColumns();

3. Specify the number of table columns to be stuck on scroll.

$('table').stickyTableColumns({
  columns: 2
});

This awesome jQuery plugin is developed by ixkaito. For more Advanced Usages, please check the demo page or visit the official website.