最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to have group column headers of different size in ag-grid? - Stack Overflow

programmeradmin2浏览0评论

I have a complex ag-grid table with several layers of group column headers. The ag-grid documentation shows how to set the height of group column headers with the groupHeaderHeight property. However, that sets the height of all group headers, not just a single row of group headers. When I set the groupHeaderHeight property to height of the tallest content, I get a table like this one:

We use a function to find the tallest header height and set the groupHeaderHeight to that value. As you can see, there is barely any room for the actual data because all group column header heights are driven by the tallest one.

How can I set up group headers of different heights so we can show more of the data in the table?

发布评论

评论列表(0)

  1. 暂无评论