-
Good day to all. I transfer the question from the forum (https://forum.primefaces.org/viewtopic.php?t=81064). Here's an example. P.S. Maybe you don’t need to recalculate it at all, but set flex and it will recalculate itself?) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hi, Could you please share a Stackblitz example so we can play around to make it work? |
Beta Was this translation helpful? Give feedback.
-
Wow. I just changed my example, keeping the flex parent, set scrollHeight for TreeTable=flex and it helped. The scrollHeight itself is recalculated when the window is resized. Inspired by the example two issues below. I did not find such an explanation in the documentation, and I hope this will help someone in the future🤗 |
Beta Was this translation helpful? Give feedback.
Wow. I just changed my example, keeping the flex parent, set scrollHeight for TreeTable=flex and it helped. The scrollHeight itself is recalculated when the window is resized.
Inspired by the example two issues below.
I did not find such an explanation in the documentation, and I hope this will help someone in the future🤗