Selecting a Cell in a datagrid

  • Thread starter Thread starter Dean Landry
  • Start date Start date
D

Dean Landry

Hello,

I'm working with a datagrid. Whenever a user enters a row, I catch the
event with the rowChanging event. If the user enters invalid input, I want
to send them back to the cell they need to fix. How do I, programatically,
set the current cell back to the row they just came from?

Thanks,

Dean
 
never mind... I figured it out just now.... in my columnChanging event, I
set a DataGridCell object to the current values. I then set the
datagrid.currentcell to that object's values on the error.

Dean
 
Back
Top