Header conflict

UI Components for Angular
Post Reply
florea_g
Posts: 3
Joined: 29 Aug 2016, 10:14

29 Aug 2016, 10:25

Can anyone help me?
I have a dataTabele in a accordion tab but when i add a header in datatable the header of accordionTab is no more displayed.
Here is my html:

Code: Select all

<p-accordionTab header="Coworkers">
        <p-dataTable [value]="coworkers"
                     [rows]="10"
                     [paginator]="true"
                     [pageLinks]="10">
           <!-- When i add this the Coworkers title is no more displayed-->
            <header><div class="input-group"><section class="col col-3"><a (click)="showDialog()" ><span></span>Add</a></section></div></header>
            
            <p-column *ngFor="let col of coworkerscols" [field]="col.field" [header]="col.header"></p-column>
        </p-dataTable>
    </p-accordionTab>
Thanks !

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests