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?





--
"it's definitely useless and maybe harmful".

Re: DataGrid with drag and drop, need to control rowstate. by John

John
Tue Mar 14 10:38:27 CST 2006

I'm on 1.1 still.


"John Sitka" <johnsitka@REMOVEhotmail.com> wrote in message news:%23iCsKU4RGHA.5036@TK2MSFTNGP12.phx.gbl...
> 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?
>
>
>
>
>
> --
> "it's definitely useless and maybe harmful".
>