DataGrid row click event

  • Thread starter Thread starter Aamir
  • Start date Start date
A

Aamir

How to catch an event when a row of datagrid is clicked. There seem to
be no events available for DatRowView, since my DatGrid has a
DataView as DataSource.
Thanks in advance

Aamir
 
Aamir,

You can hook up to the CurrentCellChanged event on the DataGrid to be
notified when the current cell is changed. You will have to make the
determination whether or not the row has changed, but that is a trivial
enough operation.

Hope this helps.
 
Back
Top