Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
197 views
in Technique[技术] by (71.8m points)

PrimeNG table layout breaks with small number of rows

I'm using the p-table component of the PrimeNG library. In that, I have a problem, which I described in below project:

Problem is that if my number of rows are 'limited' the layout of the table (footer row) breaks.

On this link you find my test project: https://stackblitz.com/github/robertopostma/primeng

  • This example is based on this stackblitz example.
  • In my project, you can clearly see that the only difference is the number of rows that breaks the footer-row-layout (in Chrome, IE, Firefox). The rest is exactly the same
  • I would like to keep the 'frozen' 1st column and the footer row (which are working fine in the 'many rows example'
  • The number of rows in my table is 'dynamic', so I cannot 'fix' this my setting a fixed height...

I may have overlooked something simple, but I'm out of options ;-)

Anyone who knows how I can get this right?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...