Using #cspan and allowing column moving


I have a grid with about 12 columns and have column moving, sorting, sizing, and hiding enabled. There are two columns I’d like to group into one with #cspan.

It works OK but when I move columns around it breaks. And where needed I index by name: grid.getColIndexById(“col_name”) so not to depend on column position.

It seems code in dhtmlxgrid when moving columns doesn’t check if columns are grouped though.

Any ideas?

Unfortunately colspan is incompatible with column moving.