Which event raise on cell value change in Infragistics UltraGrid?

Nakul Chaudhary picture Nakul Chaudhary · Nov 24, 2008 · Viewed 24.8k times · Source

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.

Answer

Kevin Fairchild picture Kevin Fairchild · Nov 24, 2008

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.