4
0
mirror of https://github.com/cwinfo/powerdns-admin.git synced 2025-09-19 00:22:30 +00:00
Files
app
lib
static
adminlte2
bootstrap
dist
plugins
bootstrap-slider
bootstrap-wysihtml5
chartjs
ckeditor
colorpicker
datatables
extensions
AutoFill
ColReorder
ColVis
FixedColumns
css
examples
js
License.txt
Readme.md
FixedHeader
KeyTable
NaturalSort
Responsive
Scroller
TableTools
images
dataTables.bootstrap.css
dataTables.bootstrap.js
dataTables.bootstrap.min.js
jquery.dataTables.css
jquery.dataTables.js
jquery.dataTables.min.css
jquery.dataTables.min.js
jquery.dataTables_themeroller.css
datepicker
daterangepicker
fastclick
flot
fullcalendar
iCheck
input-mask
ionslider
jQuery
jQueryUI
jvectormap
knob
morris
pace
select2
slimScroll
sparkline
timepicker
custom
multiselect
templates
__init__.py
models.py
views.py
upload
.gitignore
.travis.yml
LICENSE
README.md
config_template.py
create_db.py
db_downgrade.py
db_migrate.py
db_upgrade.py
docker-compose.yml
requirements.txt
run.py
run_travis.sh
2016-04-27 18:45:01 -06:00
..
2016-04-27 18:45:01 -06:00
2016-04-27 18:45:01 -06:00
2016-04-27 18:45:01 -06:00
2016-04-27 18:45:01 -06:00
2016-04-27 18:45:01 -06:00

FixedColumns

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:

  • Freezes the left most column to the side of the table
  • Option to freeze two or more columns
  • Full integration with DataTables' scrolling options

Installation

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.

Basic usage

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 );
} );

Documentation / support

GitHub

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