primeng
primeng copied to clipboard
DataTables v2.0.0rc doesn't display contents of <header> section.
I'm submitting a ... (check one with "x")
[x] bug report => Search github for a similar issue or PR before submitting
**Current behavior**
The <header> section in <p-dataTable> does not display it's html contents in v2.0.0rc.
**Expected behavior**
The <header> section should display it's content, as it did in 1.1.4.>
**Minimal reproduction of the problem with instructions**
The following code does not show the words 'Parameter Picker'.
<p-dataTable [value]="parameters"
[rows]="20"
paginator="true"
pageLinks="3"
[globalFilter]="gb"
[rowsPerPageOptions]="[5,10,20]"
resizableColumns="true"
selectionMode="none"
(onRowSelect)="addParameterToPallette($event)"
responsive="true" #dt>
<header>
<div style="font-size:11pt">Parameter Picker</div>
<header>
...
</p-dataTable>
**Please tell us about your environment:**
Windows 10, MSCode, NPM
* **Angular version:** 2.0.0
* **PrimeNG version:** 2.0.0rc
* **Browser:** CHROME
* **Language:** TypeScript
You need to type p-header or p-footer
Thanks. Is that a change to v2.0.0rc? The documentation says otherwise. (see image)

Yes they did. You find all changes here: http://blog.primefaces.org/?cat=12
Many thanks, that's brilliant.