Find table row height?


Topic: Find table row height?

davout asked 4 years ago

Is it possible to find the default height of a row in a mdbtable?

I've managed to work out how to size a table using the ResizeEvent. Now I need to calculate how many rows can be displayed in the available data area

Any suggestions?


Arkadiusz Idzikowski staff commented 4 years ago

Did you try to get it with offsetHeight?

document.querySelector('tr').offsetHeight


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 9.3.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags