title: RichFaces application, should I use rich:dataTable or jQGrid, pros cons?
body: <p>Following on from <a href="https://stackoverflow.com/questions/3899649/ok-to-wrap-jsf-components-generated-html-with-own-divs-using-jquery-after-page-lo">here</a>, I need to have an inline editable grid in my web application using RichFaces 3.3.3, JSF 1.2 and Facelets.</p>
  
  <p>My options are the <code>rich:dataTable</code> RichFaces control, or the jQuery plugin, <a href="http://www.trirand.com/blog/" rel="nofollow noreferrer">jQGrid</a></p>
  
  <p>I have tried both and found the following so far:</p>
  
  <ol>
  <li>jQGrid works really well, but I am not sure what will happen if I try to refresh JSF controls from the grid, if that's possible?</li>
  <li>I am hesitant to use or trigger RichFaces modal windows from the jQGrid, can this cause problems? Or should I stick to plain jQuery modals?</li>
  <li>to be safe using the jQGrid it looks like I have to do a lot of my own plumbing, losing the benefits of richfaces controls? Am I right?</li>
  <li>rich:dataTable does not have a scrollable table with the headers fixed. richfaces has a scrollable table, but making that support inline editing has issues. (Headers dissapear, and editing does not work properly)</li>
  <li>rich:dataTable is not very customizable and is missing some very nice to have features that jqGrid has</li>
  <li>rich:dataTable has some issues that seem unresolvable or will need js hacking (eg. making a row editable on single click instead of the default double click causes issues if you use a calendar control inside the editable row, one click inside the calendar control fires an edit event again on the row making you lose your changes in other fields).</li>
  </ol>
  
  <p>In addition to some of the questions above, I would like to know what are the pros, cons of each, and what approach would be easier to maintain and extend and complete in the long run.</p>