How do you scroll a DataGridView through code?

Hello,

I would like to display some real-time data. I have already tried using the ListView but I can't get it to stop flickering so I thought I might try the DataGridView.  This problem I have right now is that I do not know how to make it scroll as I add new entries using code.  I am using a List<> as my data source.  Any ideas would be helpful.

Thank you,


Answer this question

How do you scroll a DataGridView through code?

  • Dirk Klaren

    You can try the FirstDisplayedScrollingRowIndex to specify which row is displayed first.


  • How do you scroll a DataGridView through code?