I''d like to put up a ''Back'' button for my GridControl, so the user can go back to former positions in the grid. For this functionality I need the grid to record only GridSelectionStateCommands. Is it possible?
ADAdministrator Syncfusion Team July 13, 2005 06:14 AM
I do not know of a way to only generate undo information on specific commands.
You can continually Peek the undo/redo stack before you call Undo/Redo. If the command on top is not a GridSelectionStateCommand, you could Pop the stack, continually until there is a GridSelectionStateCommand on top.