Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
18368 | Aug 29,2004 01:17 AM UTC | Sep 2,2004 05:22 AM UTC | WinForms | 7 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid1_CurrentCellMoved(object sender, GridCurrentCellMovedEventArgs e) { if(this.gridDataBoundGrid1.Binder.IsEditing) this.gridDataBoundGrid1.Binder.EndEdit(); }As for as sorting, I think you would have to clear the undo/redo stacks after a sort. The undo information would no loner be valid. The grid does not try to maintain undo/redo information for sorting. If you want support undoing a sort, you would have to create a custom undo command to manage this. Here is a forum thread with a sample. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=17487
>private void gridDataBoundGrid1_CurrentCellMoved(object sender, GridCurrentCellMovedEventArgs e) >{ > if(this.gridDataBoundGrid1.Binder.IsEditing) > this.gridDataBoundGrid1.Binder.EndEdit(); >} >> >As for as sorting, I think you would have to clear the undo/redo stacks after a sort. The undo information would no loner be valid. > >The grid does not try to maintain undo/redo information for sorting. If you want support undoing a sort, you would have to create a custom undo command to manage this. Here is a forum thread with a sample. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=17487
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.
This page will automatically be redirected to the sign-in page in 10 seconds.