P
Paul Schwann
Hi Group,
I am using C# with .NET 2.0 and Visual Studio 2005. I have a GUI with
a DataGridView (DGV) and a BindingSource for the data. The data are
added programmatically, up to 5 rows per second.
My question are:
How do I disable the automatic scrolling of the DGV? It seams that
each time I add a new data record, DGV scrolls to the position of that
new record.
How do I prevent the DGV from keeping the position of a selected row
(each time I add a new record, the DGV scrolls back to the selection).
What I want at the end is a DGV which shows a scroll bar but does not
do ANY automatic maintenance of it. The user alone shall decide what
portion of the DGV is shown even if the data are added, removed
selected or what else...
Thanks for any ideas!
Regards,
Paul
I am using C# with .NET 2.0 and Visual Studio 2005. I have a GUI with
a DataGridView (DGV) and a BindingSource for the data. The data are
added programmatically, up to 5 rows per second.
My question are:
How do I disable the automatic scrolling of the DGV? It seams that
each time I add a new data record, DGV scrolls to the position of that
new record.
How do I prevent the DGV from keeping the position of a selected row
(each time I add a new record, the DGV scrolls back to the selection).
What I want at the end is a DGV which shows a scroll bar but does not
do ANY automatic maintenance of it. The user alone shall decide what
portion of the DGV is shown even if the data are added, removed
selected or what else...
Thanks for any ideas!
Regards,
Paul