Horizontal scroll on table & footer

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
Inetum
Posts: 2
Joined: 30 Apr 2021, 11:25

11 Jun 2021, 10:51

Hello,
I am using a p-table element, with lots of columns in it. Because of that high number of columns, I need a horizontal scroll on this table, otherwise it will be unreadable for users.

I tried to set this up on the Ultima demo :
Image

As you can see, the header isn't extended as the table is. Do you have a solution about it?

Thank you very much for your answers,

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

14 Jun 2021, 10:42

Hi,
Please add the below code in your stylesheet or _layout_styles.scss file (src/assets/sass/overrides/_layout_styles.scss) and try again.

Code: Select all

body {
    .layout-wrapper {
        display: inline-block;
        min-width: 100%;
    }
}

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests