[SOLVED] Datagridview vertical scrolling

Answered
0
0

The DatagridView slows down or stops just when I try to scroll the rows with the vertical scrollbar;

with a few rows it works good but with a hundred it behaves badly.

no event is fired

Attachment
  • roni neri
    this is a datasource I use: pro = md.Committenti.OrderBy(Function(x) x.name).ToList c.dg.DataSource = pro
  • You must to post comments
Best Answer
0
0

Hi Roni,

You might find it useful to try using VirtualMode on the DGV.  This will let you have large datasets and load them quickly.  It only gets the “page” requested by the client.

I’m attaching a sample for you to try out.

Let me know if this helps the speed of your DGV scrolling.

It would also be helpful to attach a sample demonstrating how you have your DGV set up.

Link:

https://wisej.com/support/question/how-to-use-virtualmode-in-listview

Best regards,

Levie

  • Levie (ITG)
    Hi Roni, did this work for you? Let me know. Best regards, Levie
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.