setSortImgState and SplitAt

Hey,

I have the professional edition and I want to set the sort image state in a grid with split columns. In my example case, I have 4 columns on the top header row, and two columns on the second header row with splitAt(1);



IE:



A | B | C | D |

| | | E | F |







I want to set the sort image of the first column in the second header row (E in my case).



If I do: mygrid.setSortImgState(true,0,‘desc’,2); without splitting, all is fine, but if I split column A, the image shows up on cell A.





Basically, in a split grid, how can I set the sort image of a header cell who’s index is less then the split index? Is this a known bug?


The problem fixed and will be released as part of oncoming update ( dhtmlxgrid 1.6 )



As fast solution you can use next code to call command against columns left to split



grid._fake.setSortImgState(true,0,‘desc’,2);