title: rich:dataGrid borders issue rich faces 4
body: <p>We are upgrading from jsf 1.2 to jsf 2. 
  We are using apache myfaces 2.1 and rich faces 4.3.</p>
  
  <p>The issue is i am not able to get borders around <code>&lt;rich:dataGrid&gt;</code> component.
  I have seen posts describing how to remove the borders but no one specifies how to get borders. 
  It seems that borders are by default rendered earlier (they were coming when rich faces 3 is used  ) but after upgrading to rich faces 4 , ther are not rendered
  by default.
  Following is the xhtml snippet. </p>
  
  <pre><code>&lt;rich:dataGrid value="#{bean.getListValues}"  var="value" columns="1" rowKeyVar="index" id="qsns"
  style="border-bottom-width:10px;"&gt;
  
  
          &lt;h:panelGrid id="qsn#{index+1}"  border="10" columns="2"&gt;
  
                     &lt;h:outputText value="qsn #{index+1}"/&gt;
                     &lt;h:selectOneMenu value="#{value.qsn}"&gt;
                   &lt;f:selectItems value="#{bean.qsnPool}" /&gt;
                  &lt;/h:selectOneMenu&gt; 
  
  
                  &lt;h:outputText value="Answer"/&gt;                                            
                      &lt;h:inputText value="#{value.answer}"/&gt;
  
  
          &lt;/h:panelGrid&gt;  
  
  
  &lt;/rich:dataGrid&gt;
  </code></pre>
  
  <p>I also tried setting borders explicitely for panelGrid (border="10") in above snippet.<br>
  and to rich:dataGrid (border-bottom-width:10px), but it is not working as specified in url according to url : <a href="http://docs.jboss.org/richfaces/latest_4_2_X/Component_Reference/en-US/html/chap-Component_Reference-Tables_and_grids.html#sect-Component_Reference-Tables_and_grids-richlist" rel="nofollow">http://docs.jboss.org/richfaces/latest_4_2_X/Component_Reference/en-US/html/chap-Component_Reference-Tables_and_grids.html#sect-Component_Reference-Tables_and_grids-richlist</a></p>
  
  <p>Can anyone please help ?</p>