Datatables: Change height of table not working?

It might be the case that the sScrollY value only sets the size of the table on initialize and then when you change the value it does not reside the table. That value might only be used to tell datatables "after this amount of scrolling render more results" so you might have to create a facade that updates the sScrollY and then manually updates the css width of that table to the desired height.

It would explain a lot, but there are others questions, where the answer is that it should work: stackoverflow. Com/questions/7634066/… – dwergkees Oct 7 at 12:28.

Ok what seems to work nicely is to do tap into the elements added by the datatbables framework: $(window). Resize(function() { console. Log($(window).height()); $('.

DataTables_scrollBody'). Css('height', ($(window).height() - 200)); }); $('#example'). DataTable({ "sScrollY": ($(window).height() - 200), "bPaginate": false, "bJQueryUI": true }); This example lets the table resize smoothly with the window.

Live example: http://jsbin.com/anegiw/18/edit.

Ok what seems to work nicely is to do tap into the elements added by the datatbables framework.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions