Page 1 of 1

ScrollHeight as % in DataTable

Posted: 30 Aug 2017, 21:28
by eyedrop
Hi,

I started to migrate my react table component in my project to PrimeReact's DataTable.

I am trying to set the scrollHeight as a percentage such as scrollHeight="80%", but it is not working.

Assigning scrollHeight with a pixel value works fine.

Am I missing something or is the support for scrollHeight as a percentage coming in a later build?

Thanks!

Re: ScrollHeight as % in DataTable

Posted: 03 Sep 2017, 21:08
by cagatay.civici
Planned for 1.0.1 due mid september, we had this in PrimeFaces already and will apply the same solution to PrimeNG and PrimeReact. Here is the issue;

https://github.com/primefaces/primereact/issues/77