title: width of column in rich:datatable
body: <p>I am using JSF 1.2, in one of my web page i am using . I want to set column's width.  </p>
  
  <pre><code>&lt;rich:dataTable id="dt" border="1" cellpadding="2" cellspacing="0" width="100%"&gt;
     &lt;rich:column filterBy="" filterEvent="onkeyup" sortBy=""&gt; 
      &lt;f:facet name="header1"&gt;
         &lt;h:outputText value="header1" /&gt;
      &lt;/f:facet&gt;
      &lt;h:outputText value="myValue1"&gt;&lt;/h:outputText&gt;
     &lt;/rich:column&gt;
     &lt;rich:column filterBy="" filterEvent="onkeyup" sortBy=""&gt; 
      &lt;f:facet name="header2"&gt;
         &lt;h:outputText value="header2" /&gt;
      &lt;/f:facet&gt;
      &lt;h:outputText value="myValue2"&gt;&lt;/h:outputText&gt;
     &lt;/rich:column&gt;
  &lt;/rich:dataTable&gt;
  </code></pre>
  
  <p>In one of rich:column i need to set width for column, for this i tried like</p>
  
  <p>1) <code>width="100px"</code></p>
  
  <p>2) <code>headerClass="myWidth"</code> and declared  <code>myWidth</code> in css file, 
          <code>.myWidth {width:100px;}</code>  (as mentioned in
      <a href="https://stackoverflow.com/questions/3512682/column-width-in-richdatatable">column width in rich:datatable</a>)
      but both did not work.</p>
  
  <p>can anyone help me to set column width.</p>