Column Move - Undo

Hi,



I hide a column using a button click. Now I want to Undo the hidden column. I’m calling mygrid.doUndo(). But its not workiong.Similarly for moving the column. Is it possible to undo the hidden column with out reloading the grid again.



Thanks,

Hariharan.

Built in Undo|Redo functionality works only for data edit operations.
To unhide column you can can call next command
    grid.setColumnHidden(INDEX,false);
where INDEX - zero based index of column