Event after onAfterCMoveEvent

Hi, I am trying to rebuild the grid after the column move event.

           mygrid.attachEvent("onAfterCMove",function(sInd,tInd){


mygrid.destructor();
buildgrid();

          }

However, it gives a null pointer error inside of dhtmlXGridObject.prototype._stopColumnMove
“if (grid._colInMove._oldHe)”
because the grid is rebuilt and the moved column no longer exists.

So how can I cancel the _stopColumnMove event? Thanks,

However, it gives a null pointer error inside of dhtmlXGridObject.prototype._stopColumnMove
“if (grid._colInMove._oldHe)”
Unfortunately we cannot reproduce this issue locally. Is any other code which you are called inside “onAfterCMove” event handler?