Some table Frameworks have properties for automatically handling the height and using intended ways.
else as the error message says its expecting a height so either u find a way in docs to automatically calc the height of the content. Either way as the error message states the table expects a height and if u need a fixed height and cant use any auto options of this component u can try to get the height of the parent container by asking it for its getBoundingClientRect and give the table this value which u would also kinda renew on any resizeEvents.
Also it seems this had been covered: The parent DOM element of the Data Grid has an empty height