BF-202205051124\Administrator 2b159b6d13 no message | 2 سال پیش | |
---|---|---|
.. | ||
css | 2 سال پیش | |
examples | 2 سال پیش | |
js | 2 سال پیش | |
License.txt | 2 سال پیش | |
Readme.md | 2 سال پیش |
When making use of DataTables' x-axis scrolling feature (scrollX
), you may wish to fix the left or right most columns in place. This plug-in for DataTables provides exactly this option (for non-scrolling tables, please use the FixedHeader plug-in, which can fix headers, footers and columns). Key features include:
To use FixedColumns, first download DataTables ( http://datatables.net/download ) and place the unzipped FixedColumns package into a extensions
directory in the DataTables package. This will allow the pages in the examples to operate correctly. To see the examples running, open the examples
directory in your web-browser.
FixedColumns is initialised using the $.fn.dataTable.FixedColumns()
constructor. For example:
$(document).ready(function() {
var table = $('#example').DataTable( {
scrollY: "300px",
scrollX: true,
scrollCollapse: true,
paging: false
} );
new $.fn.dataTable.FixedColumns( table );
} );
If you fancy getting involved with the development of FixedColumns and help make it better, please refer to its GitHub repo: https://github.com/DataTables/FixedColumns