Sidebar with p-table scrolling problem

Post Reply
perforator
Posts: 5
Joined: 18 Dec 2020, 19:25

17 Nov 2022, 15:29

Hello,

I am using the current libraries.

I have used the PrimeBlocks sidebar layout example (Dim Sidebar with Topbar) and a PrimeNG p-table in the content area. If the p-table has some more columnes the scrolling breaks as the scrollbar appears all over the screen instead only the p-table div.
If using [scrollable]="true" the table header scrolls into the menu.
In the meantime I am using p-dataview.

https://ibb.co/mTZqZx7
https://ibb.co/6Hp205B


Can anybody confirm this?

Thanks alot

gucal
Posts: 7
Joined: 06 Sep 2022, 08:45

18 Nov 2022, 11:05

Hi,

Thank you for contact with us. Could you please post a code example that explains the issue in more detail?

Thanks.
gucal


gucal
Posts: 7
Joined: 06 Sep 2022, 08:45

24 Nov 2022, 15:25

Please add the min width style to the p-table component as in the primeng document.

Ex: [tableStyle]="{'min-width': '40rem'}"
gucal

Post Reply

Return to “PrimeBlocks for PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest