Manually resize a fixed column of FixedColumns plugin
Manually resize a fixed column of FixedColumns plugin
foolishbrat
Posts: 1Questions: 1Answers: 0
Using this script I can scroll the 2nd columns onward and let 1st column (First name
) fixed.
$(document).ready(function() {
var table = $('#example').DataTable( {
scrollY: "300px",
scrollX: true,
scrollCollapse: true,
paging: false
} );
new $.fn.dataTable.FixedColumns( table );
} );
How can I manually resize the first column?
This discussion has been closed.