Unselect a cell in the datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I select a cell on my datagrid, I change the value of the cell but I want
to unselect the cell once I have changed the value. I tried to call the unselect() method
from datagrid, but it did not do anything.

any suggestions?

thanks,
adam
 
Try:
if ( dataGrid1.CurrentRowIndex > -1 )
dataGrid1.UnSelect(dataGrid1.CurrentRowIndex);
 
Back
Top