title: JSF - scrolling datatable
body: <p>I've used <a href="http://balusc.blogspot.com/2006/06/using-datatables.html" rel="nofollow">this</a> BalusCs guide to view and paging datatables. It's very nice and useful guide (where would I be without it?), but I have one more question (maybe directly for you, BalusC):</p>
  
  <p>Is there some posibility to scroll datatable horizontally and mainly vertically (without moving a headers)? </p>
  
  <p>Thank you</p>
  
  <p><strong>EMERGENCY SOLUTION</strong> (using HTML):</p>
  
  <p>place <code>&lt;h:form&gt;</code> to <code>&lt;div id="scrolltable"&gt;</code></p>
  
  <p>and define scrolltable in css, for example: </p>
  
  <pre><code>#scrolltable{
    width: 920px; height: 300px;
    overflow-y: scroll;
    overflow-x: auto;
  }
  </code></pre>