Autoheight not working as expected

In grid component, I have set autoheight: true and setting html data.
https://snippet.dhtmlx.com/gvtys1cl

after adding autoheight my expection was like it should display all data setted in that particular cell,
but it is showing limited data in that cell due to its height and top and botton text is not displayed over it,
text properly visible in tooltip.

Please review it and let us know what could be the possible solution to display full text

Please, note that the autoHeight algorithm allows calculating the content of simple HTML templates by excluding HTML markup and calculating internal content. It is not supposed to calculate the height of some complex html-content.