I am using Infragistic UltraGrid in window application.
I need a event which is raised on cell value change.
I try many events like AfterCellActivate,AfterCellUpdate but uanble to find right one.
Please suggest me.
views:
3679answers:
3
A:
AfterCellUpdate should be the right event... Make sure the event is enabled in the EventManager!
Vincent Van Den Berghe
2008-11-24 13:47:31
+1
A:
AfterCellUpdate is what you want, but you may need to call:
- YourGridControl.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.EnterEditMode)
- YourGridControl.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.ExitEditMode)
to actually trigger the update, depending on when you want it triggered.
I've noticed that it can sometimes be finicky on when it'll fire off the event, otherwise.
Kevin Fairchild
2008-11-24 13:54:22
It triggers after the cell 'loses focus' and the contents are validated.
Vincent Van Den Berghe
2008-11-24 14:29:25
Right. But if he's wanting an immediate response to a cell being changed (like a checkbox being clicked), he'll need to call PerformAction via code.
Kevin Fairchild
2008-11-24 15:02:22
Haha, I already thought it was weird to see 2 Infragistics questions in such a short timespan :-)
Vincent Van Den Berghe
2008-11-24 17:01:57
+1
A:
There is a CellChange event which fires when the user begins to type a value in the cell. This event is useful if you need to know exactly when a cell is modified as the AfterCellUpdate event only fires when the user exits from the cell s/he is changing.
rie819
2009-05-14 12:47:13