Moving Column

Hi, I have a grid with 2 headers, so when I move a column, the first header’s label is showed, I need to show the label of the second header. How can I do that??
And can I move more than one column at the same time ??, I mean, if i select one colum of the first header, can i move all the columns of the second header that are part of that column??

Thanks!!!

Can be done only by code modification
In dhtmlxgrid_mcol.js

z.innerHTML=grid.getHeaderCol(z._aIndex);

can be changed as

z.innerHTML=grid.getHeaderCol(z._aIndex,1);

And can I move more than one column at the same time ??,
Nope, it doesn’t possible
Beware that moving a column which involved in col or row span is not supported.

Thanks for replaying!!!

I have another question, the label is working fine, but the style that indicate the Target column is set to the first header, and it needs to be applied to the second header. How can I change that??

Thanks!!!

in the same file

if (grid.hdr.rows[1]._childIndexes) var he=grid.hdr.rows[1].cells[grid.hdr.rows[1]._childIndexes[el._cellIndexS]]; else var he=grid.hdr.rows[1].cells[el._cellIndexS];

row[1] => row[2]