How to use template in <p-datatable>
<p>I've got a very basic question which I can't answer myself because most links to <a href="http://www.primefaces.org/primeng" rel="noreferrer">http://www.primefaces.org/primeng</a> don't work anymore.
I also tried registering to their forum but their activation mail never arrives.</p>

<p>I use Angular2 and have a datatable with two columns: filename and status.
The status column I want to change. It holds now a number from 1 to 4 and I want to show a glyphicon based on the status.</p>

<p>I now have this, which is working:</p>

<pre><code>&lt;p-dataTable [hidden]="loading" [value]="files" selectionMode="single"  sortField="Status" [sortOrder]="-1"&gt;
  &lt;p-column field="FileName" header="Naam" sortable="true"&gt;&lt;/p-column&gt;
  &lt;p-column field="Status" header="Status" sortable="true"&gt;&lt;/p-column&gt;
&lt;/p-dataTable&gt;
</code></pre>

<p>I tried this, just to test the templating but nothing changes:</p>

<pre><code>&lt;p-dataTable [hidden]="loading" [value]="files" selectionMode="single"  sortField="Status" [sortOrder]="-1"&gt;
  &lt;p-column field="FileName" header="Naam" sortable="true"&gt;&lt;/p-column&gt;
  &lt;p-column field="Status" header="Status" sortable="true"&gt;
    &lt;template let-file="rowData"&gt;
        {{file.Status == 1 ? "Yes" : "No"}}
    &lt;/template&gt;
  &lt;/p-column&gt;
&lt;/p-dataTable&gt;
</code></pre>

<p>So save to conclude I'm not using it properly.</p>

<p>We're using PrimeNG 1.0.0-beta.16</p>