DataGrid with drag and drop, need to control rowstate.

  • Thread starter Thread starter John Sitka
  • Start date Start date
J

John Sitka

Hi,

I'm displaying a datagrid
when the user enters (highlights) a certain text cell on a row it does a lookup of possible matches.
The matches are displayed in a listbox and one of those matches can be quickly tossed with the mouse
over to the grid surface and replace the original cell text.

In the datagrids DragDrop event I'm using BeginEdit() EndEdit() on the Row where the change takes place.
But this does not leave the DataSets Rowstate for that Row as Modified?

I hoped to use the rowstate as a condition for updates (one or many)

The grid works (Rowstate is correct) when the certain text cell that is the source of the lookup is keyboard edited or other grid
type functions.

How to solve?
 
Back
Top