We extended the autoHeight mode for the grid/treegrid header and footer in the latest dhx.Suite update (v8.3).
You can enable it using the footerAutoHeight and headerAutoHeight properties:
Here are some snippets, where you can check this feature:
Please, download the latest available dhx.Suite build from your client’s area to get this functionality.
Thank you for your report.