dataTable when scrollable and scrollheight is set - style issue
a dataTable style is broken when scrollable and scrollHeight attribute is set.
any update on this?
Same here. If I set a percentage value into the scrollHeight it sets the max-height of the body to 0px
The error happens Here: https://github.com/primefaces/primeng/blob/master/components/datatable/datatable.ts#L1620.
My Setup: I have the table inside a tab-panel. The first tab has a selection which changes the list shown in the table, the second has the table. After I change tabs, select and come back to the table this line will set 0px and never be called again.
Unable to replicate with newer versions, please try with 2.0.2.
This issue still affects me - both on 2.0.2 and 2.0.3
Can you provide a plunkr please?
Yup, I'm working on it right now.
Thanks, we'll do 4.0.RC1 on wednesday, I can ask my colleague to check this until then.
There is everything fine with with scrollWidth. The scrollHeight is the one, that seems to have problems:
http://plnkr.co/edit/lwsjtNJCWW5qEBtOOXiY?p=preview
Was there ever a fix for this? I'm still finding the issue in the latest npm package.