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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top