title: Primefaces dataTable column width , color scheme , checkboxes functionality
body: <p>I am new to primefaces and jsf and facing a few problems using it.</p>
  
  <p>Following is the code i am using in jsf</p>
  
  <pre><code>&lt;p:dataTable id="plazaId" var="plaza" value="#{coverageBean.plazaDataModel}" selection="#{coverageBean.selectedPlaza}" rowIndexVar="rowIndex" width="100%" border="0" cellspacing="0" cellpadding="0" &gt;
              &lt;p:column id="name" headerText="Select" selectionMode="multiple"
                      style="width:18px" /&gt;
              &lt;p:column id="plazaName" headerText="Plaza's" style="width: 50%"  bgcolor="#dcdcdc"&gt;
                  &lt;h:outputText value="#{plaza.name}" bgcolor="#dcdcdc"&gt;&lt;/h:outputText&gt;
              &lt;/p:column&gt;
              &lt;p:column id="plazaDirect" headerText="Directo" style="width: 10%"  bgcolor="#dcdcdc"&gt;
                  &lt;h:outputText value="#{plaza.direct}" bgcolor="#dcdcdc"&gt;&lt;/h:outputText&gt;
              &lt;/p:column&gt;
            &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>I have checked the Beans and backend. They are all correct. </p>
  
  <p>The issues are :</p>
  
  <ul>
  <li>I like to change the width using percentage in this table . But its not working.</li>
  <li>I like all the rows to be of the same color. But its showing alternate colors (white and blue)</li>
  <li>And is there a way to make the checkbox of simple html style . But its a little fancy.</li>
  </ul>
  
  <p>Could anyone help with any of there problems. Thanks in advance</p>