Fill parent container height (Using jQueryUI setting)

Fill parent container height (Using jQueryUI setting)

ph34rph34r Posts: 2Questions: 1Answers: 0
edited July 2015 in Free community support

Hello,

How do I make a datatable fill 100% of the height of its parent container without setting a static height for the datatable? Setting the height of the datatable too 100% doesn't fill the height of the parent container. Also, if the table contains more data than fits in the height of the parent container, I need to make the datatable scrollable. Note that I'm using the Datatable jQuery UI setting, I'm not sure if this has any relation to my inability to make the table fill the parent container.

Here's an example of the datatable not filling the parent container:
http://jsfiddle.net/ph34r/evqqk82j/1/

Thanks!

Answers

  • ph34rph34r Posts: 2Questions: 1Answers: 0

    Bump since I'm now on page 4 with no answer. Still haven't been able to figure this one out. I just want the datatable to fill the size of the container (div) that its placed in with scrollable overflow. Any help is greatly appreciate!

This discussion has been closed.