How to configure SlickGrid to fill the browser full screen

Home > Search > How-to
  by

Add the following to the page that is producing the SlickGrid.

<style>
html, body {
  margin: 0;
  padding: 0;
  background-color: white;
  overflow: auto
;}

body {
  font: 11px Helvetica, Arial, sans-serif
;}

.fill_browser {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 0
;}
</style>

<div id="#MyGrid" class="fill_browser"></div>

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments