title: Primefaces 5: view data with datatable on two columns
body: <p>I'm using Primefaces 5 with JDK 1.8 on Glassfish server 4.1.</p>
  
  <p>I create a page xhtml with following structure ():</p>
  
  <pre><code>&lt;p:dataTable value="#{myBean.myList}" ...&gt;
      &lt;p:column&gt;MyLabel&lt;/p:column&gt;
      &lt;p:column&gt;MyImage&lt;/p:column&gt;
      &lt;p:column&gt;MyDescription&lt;/p:column&gt;
  &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>so I see in output a table with 3 columns:</p>
  
  <pre><code>label, image and description
  label, image and description
  label, image and description
  label, image and description
  label, image and description
  label, image and description
  ...
  </code></pre>
  
  <p>Object <em>myList</em> of my bean returns about 50 rows that are displayed on my page.
  How can I view this rows on 2 columns? Something as:</p>
  
  <pre><code>label, image and description           label, image and description
  label, image and description           label, image and description
  label, image and description           label, image and description
  </code></pre>
  
  <p>Thanks.</p>