Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which event raise on cell value change in Infragistics UltraGrid?

I am using Infragistics UltraGrid in a Windows Forms application.
I need an event which is raised on cell value change.
I've tried many events like AfterCellActivate, AfterCellUpdate but was unable to find the right one.

like image 589
Nakul Chaudhary Avatar asked Nov 24 '08 13:11

Nakul Chaudhary


3 Answers

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.

like image 188
Kevin Fairchild Avatar answered Nov 20 '22 17:11

Kevin Fairchild


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.

like image 36
rie819 Avatar answered Nov 20 '22 17:11

rie819


AfterCellUpdate should be the right event... Make sure the event is enabled in the EventManager!

like image 1
Vincent Van Den Berghe Avatar answered Nov 20 '22 18:11

Vincent Van Den Berghe