Does anyone find DataGridView to be kinda slow?

  • Thread starter Thread starter 0to60
  • Start date Start date
0

0to60

I find this control to be awfully slow. I throw it on a form, and then set
DataSource to a data table (my test table has maybe 500 rows and 10
columns), then set Anchor to all four places. At runtime, painting is very
sluggish. Resizing the form is slow. Are there some properties I can set
to speed things up?

Oddly enough, I tried the same thing with Infragistics' UltraGrid and it was
even SLOWER than the DataGridView. The last time I worked with stuff like
this was back in the VB6 days, and grids seemed a lot faster and smoother
back then.
 
I find this control to be awfully slow. I throw it on a form, and then set
DataSource to a data table (my test table has maybe 500 rows and 10
columns), then set Anchor to all four places. At runtime, painting is very
sluggish. Resizing the form is slow. Are there some properties I can set
to speed things up?

I've had similar experiences with a large number of columns... Setting
the ColumnHeadersHeightSize and RowHeadersWidthSize properties of the
DataGridView to DisableResizing drastically improved performance.
 
Back
Top