DHTMLX Grid : Disable showing sorting image arrow.

Hi,

I dont want to show the sorting arrow image while sorting for A PARTICULAR column.

How to do it ?

I used following, but not working.





:: .setSortImgState(false, 0, “asc”); // oth Column.

:: na in setColSorting.

setSortImgState method change current state of image, and doesn’t affect later changes of its state.

You can achieve necessary behavior by using onAfterSorting event
    grid.attachEvent(“onAfterSorting”,function(ind){
       if (ind==0)
            .setSortImgState(false, 0, “asc”);
    });


In such case, each time, after sorting, grid will hide sorting image, if it was sorted by necessary column ( first column in snippet above )