tags:

views:

366

answers:

1

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
+1  A: 

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.

Francis B.