dynamically size the table in larger monitors?
dynamically size the table in larger monitors?
westjohn1234
Posts: 15Questions: 0Answers: 0
Can we dynamically size the table such that it takes more advantage of our screen real estate on bigger monitors? Right now it is a fixed height... I would like to stretch it so that it fits more of the screen on larger monitors.
This discussion has been closed.
Replies
Allan
Thanks for the quick response. We are using scrolling, in fact we have implemented like http://datatables.net/release-datatables/extras/Scroller/large_js_source.html. When we see this in bigger monitors, we find lots of empty space at the bottom. Can we get rid of this by adjusting the table height dynamically?
West
[code]
sScrollY: $(window).height() - 100
[/code]
The problem there is that it doesn't cope with resizing. You would need to dynamically modify the container to have that work. I will try to set up an example when I get a chance.
Allan
West