Here's a light weight code snippet that creates a modal popup that slides amd anchors from the browsers bottom edge.
.instance is the class name of the parent container
.tab is the class name of the table (or other containing element).
// table cell height 100%
var b= $(".instance").height(); //gets the window's height, change the selector if you are looking for height relative to some other element