Greetings!
I am using a Datagridview bound to a custom collection [IBindingList] and it
shows three columns- one is DataGridViewCheckBoxColumn and other two are
DataGridViewTextBoxColumns. The list of the items is displayed in the
datagridview and I start checking the DataGridViewCheckBoxCells. As I do so
and scroll the list, the datagridview automatically switches the row position
in the datagridview. The checkboxcell that I was trying to click is
highlighted but is not checked and is not where my mouse pointer is
positioned. This happens randomly and the application users are not really
happy.

In order to resolve this, I reset the SortedMode, tracked changes in
CurrentCellDirtyStateChanged and CellValueChanged events but could not track
the behavior.

Has someone encountered this issue or someone direct me with some
suggestions to resolve this problem?

Thanks for your time.

Regards,
Raj

RE: Datagridview repositioning rows automatically by RajKumar

RajKumar
Thu Jun 08 15:08:02 CDT 2006

Hi!
Has anyone encountered this situation or can I report this as a bug?

Regards,
Raj

"Raj Kumar" wrote:

> Greetings!
> I am using a Datagridview bound to a custom collection [IBindingList] and it
> shows three columns- one is DataGridViewCheckBoxColumn and other two are
> DataGridViewTextBoxColumns. The list of the items is displayed in the
> datagridview and I start checking the DataGridViewCheckBoxCells. As I do so
> and scroll the list, the datagridview automatically switches the row position
> in the datagridview. The checkboxcell that I was trying to click is
> highlighted but is not checked and is not where my mouse pointer is
> positioned. This happens randomly and the application users are not really
> happy.
>
> In order to resolve this, I reset the SortedMode, tracked changes in
> CurrentCellDirtyStateChanged and CellValueChanged events but could not track
> the behavior.
>
> Has someone encountered this issue or someone direct me with some
> suggestions to resolve this problem?
>
> Thanks for your time.
>
> Regards,
> Raj