Turbo table broken in Ultima when using scroll

UI Components for Angular
Post Reply
tabinnorway
Posts: 21
Joined: 08 Sep 2016, 14:28
Location: Norway

22 Mar 2018, 13:12

Headers gets all screwed up in p-table when using (at least) Ultima

Download the Ultima theme, edit the Sample Page - sampledemo.component.html
Under the header <h1>DataTable</h1> you have
<p-table [columns]="cols" [value]="cars" selectionMode="single" dataKey="vin" [style]="{'margin-bottom':'20px'}" [(selection)]="selectedCar3">
...
</p-table>

Edit it to look as this
<p-table [columns]="cols" [value]="cars" selectionMode="single" dataKey="vin" [style]="{'margin-bottom':'20px'}" [(selection)]="selectedCar3" [scrollable]="true" scrollHeight="200px" >
...
</p-table>

Now the header is now showing the header names and a few other oddities.
Terje

paulswan
Posts: 94
Joined: 27 Apr 2017, 08:19

22 Mar 2018, 23:24

They say it will be fixed in the next release in this post:
viewtopic.php?f=45&t=54233

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests