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

angular - In ag-grid collapse column group, value is getting copy in wrong column order - Stack Overflow

programmeradmin3浏览0评论

I am using ag-grid in my angular project, where I have multiple columns across various column groups. All other things are working fine, but when we have one or more collapsed column groups, and we copy value by selecting multiple cells or a row, it's not getting copied in the same order of column displaying on UI.

The collapsed column's cell value is getting copied first and then the open column's cell value will get copied.

For example, Let's assume we have 6 column in 3 column group Group A - Column A1, A2 Group B - Column B1, B2 Group C - Column C1, C2

Now if I am having Group B and Group C collapsed, and I try to copy entire row (R1) with all the column's cell, copied value is as below

Val-R1-B1 Val-R1-B2 Val-R1-C1 Val-R1-C2 Val-R1-A1 Val-R1-A2

When I have no group collapsed, it is getting copied in correct order i.e. Val-R1-A1 Val-R1-A2 Val-R1-B1 Val-R1-B2 Val-R1-C1 Val-R1-C2

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论