ScrollHeight as % in DataTable

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

30 Aug 2017, 21:28


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?


Posts: 18428
Joined: 05 Jan 2009, 00:21
Location: Cybertron

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;

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests