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?
ADAdministrator Syncfusion Team April 4, 2005 01:44 PM
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?
TATom AbrahamApril 4, 2005 01:53 PM
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.
ADAdministrator Syncfusion Team April 4, 2005 02:48 PM
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