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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Undo on FormulaCells

Thread ID:





26940 Apr 4,2005 03:32 PM UTC Apr 4,2005 07:48 PM UTC WinForms 3
Tags: GridControl
Tom Abraham
Asked On April 4, 2005 03:32 PM UTC

It appears that undo does not work with FormulaCells. I created a new application with a GridControl and all FormulaCells, typed 1 into a cell, and undo did not do anything. Is this true, and if so, what do you suggest?

Administrator [Syncfusion]
Replied On April 4, 2005 06:44 PM UTC

The Formula cell does not generate any special undo information. So if all you want to handle the undo on is your user typing into cells, this might work. In our UndRedoSample, I added gridControl1.TableStyle.CellType = "FormulaCell" and was able to type into cells and undo these actions. If you want to handle undoing special actions like copying and pasting with auto reference updating, this this will be a problem. Exactly what is it you are trying to do, and what is failing?

Tom Abraham
Replied On April 4, 2005 06:53 PM UTC

I need full undo support that the GridControl normally provides without FormulaCells. We will be copying/pasting and needing to be able to undo pastes.

Administrator [Syncfusion]
Replied On April 4, 2005 07:48 PM UTC

You would have to identify the missing support you want to have, and then add your own custom commands to handle this. Here is a forum thread with a sample of deriving a custom command. http://www.syncfusion.com/support/user/Uploads/VirtGridCustomUndo_270.zip


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon