I use a Datatable with paginator.
I would like to display a maximum of rows by default depending on the screen resolution.
After a very long time I can not find a solution.
Please can you help me?
Thank you very much.
Examples with 20px rows and header and footer = 156px:
Resolution of 1080px in height
Number of rows = 26 <- how to calculate 26?
Resolution of 1050px in height
Number of rows = 25 <- how to calculate 25?
Resolution of 1024px in height
Number of rows = 24 <- how to calculate 24?
Resolution of 960px in height
Number of rows = 30 <- how to calculate 30 ????
UI Components for JSF
2 posts • Page 1 of 1