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

Ag-Grid Angular row alignment issue - Stack Overflow

programmeradmin1浏览0评论

When grouping rows, I have 3 levels of data and 2 grouping sets. As I expand the first level grouping the data aligns correctly under the appropriate column headers that it belongs to. However, when I expand the 2nd level grouping my 3rd level data aligns far left and not back under the relevant column headers. The data is misaligned after 2nd tier expansion. Is there a way I can adjust/correct the alignment to be back under the appropriate column header, exactly like the expansion after 1st tier grouping.

Tried parent/child tables and other custom adjustments Expecting the data to align properly under correct columns

example of ag-grid image

When grouping rows, I have 3 levels of data and 2 grouping sets. As I expand the first level grouping the data aligns correctly under the appropriate column headers that it belongs to. However, when I expand the 2nd level grouping my 3rd level data aligns far left and not back under the relevant column headers. The data is misaligned after 2nd tier expansion. Is there a way I can adjust/correct the alignment to be back under the appropriate column header, exactly like the expansion after 1st tier grouping.

Tried parent/child tables and other custom adjustments Expecting the data to align properly under correct columns

example of ag-grid image

Share Improve this question edited Feb 3 at 11:48 Cvetelina Raeva asked Jan 31 at 20:52 Cvetelina RaevaCvetelina Raeva 133 bronze badges 1
  • See How to Ask, and especially minimal reproducible example. The idea is you describe what you want to do, show what you tried, and tell us what results you get. Reproduce your issue on plunk or stackblitz so that others can help you easily. – Paritosh Commented Feb 5 at 13:59
Add a comment  | 

1 Answer 1

Reset to default 0

Try hiding the column value in the detail cell if its header name matches the master table's grouped header name and ensure both the master and detail columns have the same width.

发布评论

评论列表(0)

  1. 暂无评论