dynamically change "sScrolly" property

dynamically change "sScrolly" property

earlearl Posts: 3Questions: 0Answers: 0
edited January 2013 in General
hi,
i want to change "sScrolly" property after the datatable has been initialized.
for some reason [code] oTable.fnSettings().oScroll.sY = '10px' [/code] is not working,
then i came across this discussion: http://datatables.net/forums/discussion/2957/how-to-change-feature-values-after-datatable-is-already-initialized/p1 and tried this:
[code]oTable.fnSettings().oScroll.sX = 10;
$('div.dataTables_scrollBody').height( 10)[/code]
it works, but it applies to ALL datatables on the page,
how do i indicate a particular datatable using this method?

thanks

Replies

  • earlearl Posts: 3Questions: 0Answers: 0
    problem solved.
    it appears, that table opening tag goes AFTER the scroll div (
This discussion has been closed.