1 <?xml version="1.0" encoding="UTF-8" ?>
2 <dt-example table-type="html-wide" table-class="stripe row-border order-column" order="1">
4 <css lib="datatables fixedcolumns">
5 /* Ensure that the demo table scrolls */
6 th, td { white-space: nowrap; }
7 div.dataTables_wrapper {
12 <js lib="jquery datatables fixedcolumns">
14 $(document).ready(function() {
15 var table = $('#example').DataTable( {
29 <title lib="FixedColumns">Left and right fixed columns</title>
33 FixedColumns allows columns to be fixed from both the left and right hand sides of the table. Fixing right hand-side columns is done by using the `fc-init fixedColumns.rightColumns` initialisation parameter, which works just the same as `fc-init fixedColumns.leftColumns` does for the left side of the table. This example shows both the left and right columns being fixed in place.