title: How to change the size of column in DataExport for PDF(column having same width)
body: <p>How to change the size of column in DataExport for PDF</p>
  
  <p>i have create DataTable using following code</p>
  
  <pre><code> &lt;p:dataTable id="tb1" var="user" value="#{userManagedBean.searchUsersResults}"
          selection="#{userManagedBean.selectedUser}" selectionMode="single"
          dynamic="true"
          onRowSelectUpdate="userUpdateForm"
          onRowUnselectUpdate="userUpdateForm"
          rowSelectListener="#{userManagedBean.onUserSelect}"
          rowUnselectListener="#{userManagedBean.onUserUnselect}"
          paginator="true" rows="5" style="width: 700" &gt;
          &lt;p:column sortBy="#{user.userId}" filterBy="#{user.userId}" &gt;
              &lt;f:facet name="header"&gt;
              &lt;h:outputText value="Id" /&gt;
              &lt;/f:facet&gt;
              &lt;h:outputText value="#{user.userId}" /&gt;
          &lt;/p:column&gt;
          &lt;p:column sortBy="#{user.username}" filterBy="#{user.username}" &gt;
              &lt;f:facet name="header"&gt;
              &lt;h:outputText value="Name" /&gt;
              &lt;/f:facet&gt;
              &lt;h:outputText value="#{user.username}" /&gt;
          &lt;/p:column&gt;
          &lt;p:column sortBy="#{user.emailId}" filterBy="#{user.emailId}"&gt;
              &lt;f:facet name="header"&gt;
              &lt;h:outputText value="Email" /&gt;
              &lt;/f:facet&gt;
              &lt;h:outputText value="#{user.emailId}" /&gt;
          &lt;/p:column&gt;
          &lt;p:column parser="date" sortBy="#{user.dob}" filterBy="#{user.dob}"&gt;
              &lt;f:facet name="header"&gt;
              &lt;h:outputText value="DOB" /&gt;
              &lt;/f:facet&gt;
              &lt;h:outputText value="#{user.dob}" &gt;
                  &lt;f:convertDateTime pattern="MM/dd/yyyy" /&gt;
              &lt;/h:outputText&gt;
         &lt;/p:column&gt;
  
  
  
      &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>For exporting pdf</p>
  
  <pre><code>    &lt;h:commandLink&gt;  
          &lt;p:graphicImage value="/images/pdf.png" /&gt;  
          &lt;p:dataExporter type="pdf" target="j_idt6:tb1" fileName="cars"/&gt;  
      &lt;/h:commandLink&gt; 
  </code></pre>
  
  <p>In pdf it showing all column having same width but I need as i defined.</p>