We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

CommandStack recording only GridSelectionStateCommand

Thread ID:

Created:

Updated:

Platform:

Replies:

31715 Jul 13,2005 04:44 AM Jul 13,2005 07:14 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 13, 2005 04:44 AM

Hi, Clay! 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?

Administrator [Syncfusion]
Replied On July 13, 2005 07: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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;