PrimeNG Table using [scrollable]="true" scrollHeight="flex" and "Caption"

UI Components for Angular
Post Reply
hope4555
Posts: 2
Joined: 11 Dec 2020, 00:24

11 Dec 2020, 00:28

PrimeNG Table using [scrollable]="true" scrollHeight="flex" and with "Caption' template block
will not calculate height as expected

<ng-template pTemplate="caption" >
......
</ng-template>

Delta9
Posts: 1
Joined: 05 May 2021, 17:56

05 May 2021, 20:27

I´m dealing with the exact same problem. When selecting scrollHeight="flex" and having a caption or a paginator (both needed in my case) , de table overflow it´s container.

Any help on this one?

https://imgur.com/RIDLmyM

PhilHuhn
Posts: 177
Joined: 19 Sep 2018, 02:52
Location: Ann Arbor, Michigan USA
Contact:

09 May 2021, 23:15

Hey: I'm not Prime, but I suggest that you post a bug report on Prime's github.

https://github.com/primefaces/primeng

Go to the Issues tab.

By the way you can view the source code there.

Mc128k
Posts: 10
Joined: 08 Jan 2018, 00:21

31 May 2021, 14:26

Same issue, the vertical scrolling is bugged when the table is in a sub-element, it works only for full-screen. Apparently there's no way to make a flexible and scrollable table inside a div.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests