Home All Groups Group Topic Archive Search About

Datagridview repositioning rows automatically

Author
7 Jun 2006 2:01 PM
Raj Kumar
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

Author
8 Jun 2006 8:08 PM
Raj Kumar
Hi!
Has anyone encountered this situation or can I report this as a bug?

Regards,
Raj

Show quote
"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

AddThis Social Bookmark Button