我想更改数据表的可滚动区域的大小。
$('#example').dataTable({"sScrollY": 100});
//some stuff..
$('#example').dataTable({"sScrollY":101}); //wrong: cannot reinitialize
最佳答案
$('.dataTables_scrollBody').css('height', 400);
关于javascript - jquery - 数据表更改 sScrollY,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14685865/