Getting changed value in a DataGrid cell with out moving cursor

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

Guest

I have a editable DataGrid which is bound to a datatable.I use functionkeys
to handle save and other functionality.
IssueDescription:
When i change a cell and with out moving away from that cell if hit any
function key.
the datatable doesn't have any modifed rows, it think no data has changed.

I have ColumnChanged and row changed events attached to the DataTable.

Every thing works fine if the cursor moves away from that cell.

Any suggestions are greatly appreciated.

Thanks
 
Generally speaking, the data is not considered changed until you exit the
cell. Otherwise you can't hit the ESC key and bail out of the edit--very
important. So, I recommend reconsidering what you are trying to do.
 

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