You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example if scrollHeight == 500 then datatable with just one row looks really weird. It is far better to use max-height in script or at least give it on option. In my case, having big empty table with one row is just unacceptable. So either it should be on option or always max-height. I think that even in Primfaces you have max-height, not height.
The text was updated successfully, but these errors were encountered:
Posted at our forum;
I think that scrollable datatable scrollBody should have line
this.scrollBody.height(this.options.scrollHeight);
replaced with:
this.scrollBody.css('max-height', this.options.scrollHeight);
For example if scrollHeight == 500 then datatable with just one row looks really weird. It is far better to use max-height in script or at least give it on option. In my case, having big empty table with one row is just unacceptable. So either it should be on option or always max-height. I think that even in Primfaces you have max-height, not height.
The text was updated successfully, but these errors were encountered: