Author Topic: Failed colspan over grouped columns with leading hidden field  (Read 267 times)

youngvan

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 42
    • View Profile
Failed colspan over grouped columns with leading hidden field
« on: November 27, 2023, 01:57:27 pm »
There is problem with rendering grouped multilevel columns if data model contains  hidden column as first column.
Example here:
https://plnkr.co/edit/RjGTAVkZDXDMj11s
(Note: Preview on start has error, but if you try to change on example document something than example with be previewed without an error)

So, the problem is columns AAA and BBB built separately, not under ShipCountry and Customer Name columns like I expect based on Column Model description. Additionally I find out that if this Hidden field move after grouped columns everything works fine.

But still important to know is it possible render correct with leading hidden column?
Thanks in advance!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Failed colspan over grouped columns with leading hidden field
« Reply #1 on: November 28, 2023, 08:09:14 pm »
To use nesting of columns with group by columns, you need to use groupModel.fixCols to false. In that case leading hidden column doesn't matter.