Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
263 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?

question from:https://stackoverflow.com/questions/65603042/primeng-table-layout-breaks-with-small-number-of-rows

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

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...