how to insert column dynamically with header colspan

Hi, All

There is a need to insert column dynamically cuz a big size of column count.
The problem is colspan need to be used to headers.
I’ve tried oGird.insertColumn function but it seems like can not attachHeader.
How can it be done dynamically??

expected effect is just like below


and what I’ve tried is like below


Thanks for any reply.

Unfortunately it’s not available to dynamically add a header for a single column. You will have to remove the attached header and create a new one.