Question

Using the Infragistics UltraGrid (e.g. myGrid), I want to:

  1. Hook an event that will fire when active row is changed (selected, clicked, etc).
  2. Do something with the selection

SUMMARY ANSWER

  1. Subscribe to event AfterRowActivate
  2. Get a reference to myGrid.ActiveRow
Was it helpful?

Solution

The following page talks about the event fired when the active row has changed.

To get the active row, you can use the property yourGrid.ActiveRow or yourGrid.Selected.Rows to get all selected rows.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top