how to change datatables settings(like sScrollY, sScrollX etc)

how to change datatables settings(like sScrollY, sScrollX etc)

jinbaojinbao Posts: 1Questions: 0Answers: 0
edited September 2011 in General
how can i change datatables settings(like sScrollY, sScrollX etc), and then redraw the table.like this
[code]
var datatable = $('#report').dataTable({
"bPaginate": false,
"sScrollY": "210px",
"sScrollX": "610px",
"bScrollCollapse": true,
"bSort": false,
"sDefaultContent": ""
});
[/code]
and now i have a button "show all", i want change 'sScrollY' 'sScrollX' to "100%"
how can i get it?
This discussion has been closed.