DataGrid with drag and drop, need to control rowstate.

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?
 

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

Top