How to set height equal to content height

there is a question:
I do not know the content what is, so I can not get the content has how many row.

How can I set the height to dynamically get the content height. thanks a lot!

Hi @jiaxing
If you are talking about table cards on a dashboard, then those are not dynamically set, but you define the height of the cards. This is to prevent it suddenly showing 2000 rows, which would make it difficult to handle.