ScrollHeight as % in DataTable

UI Components for React
Post Reply
eyedrop
Posts: 1
Joined: 17 Jan 2017, 18:56

30 Aug 2017, 21:28

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!

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

03 Sep 2017, 21:08

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

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests