Move horizontal scroll in FixedColumns
Move horizontal scroll in FixedColumns
Mathew_Rock
Posts: 3Questions: 0Answers: 0
Hi all,
I create a datatable with FixedColumns and I want show last columns (move my horizontal scroll to rigth), Any idea???
This is my code:
[code]
var oTable = $('#list').find('table').dataTable( {
"sScrollX" : "100%",
"sScrollY" : "400",
"bAutoWidth" : false,
"bScrollCollapse" : true,
"bPaginate" : false,
"bSort" : false,
"sInfo" : "",
"sInfoEmpty" : "",
"bFilter": false,
"bInfo": false
} );
new FixedColumns( oTable, {
"iLeftColumns" : 2, //Freezed first for columns
"sHeightMatch" : "auto",
"iLeftWidth" : 250
} );
[/code]
I create a datatable with FixedColumns and I want show last columns (move my horizontal scroll to rigth), Any idea???
This is my code:
[code]
var oTable = $('#list').find('table').dataTable( {
"sScrollX" : "100%",
"sScrollY" : "400",
"bAutoWidth" : false,
"bScrollCollapse" : true,
"bPaginate" : false,
"bSort" : false,
"sInfo" : "",
"sInfoEmpty" : "",
"bFilter": false,
"bInfo": false
} );
new FixedColumns( oTable, {
"iLeftColumns" : 2, //Freezed first for columns
"sHeightMatch" : "auto",
"iLeftWidth" : 250
} );
[/code]
This discussion has been closed.
Replies
Allan
[/code]