我在DataGridView的數據源DataTable上的「RowChanged」事件中試過這個(http://brainof-dave.blogspot.com/2007/08/turning-off-auto-scrolling-in-bound.html),但無濟於事。當數據源更改時,如何防止DataGridView自動滾動?
基本上,我有一個DataGridView與BindingSource,因爲它是DataSource。 BindingSource的DataSource是一個DataView,它包含一個DataTable。每當其中一行中的數據發生更改時,DataGridView將滾動回頂端。有這個簡單的解決辦法嗎?