Does anyone find DataGridView to be kinda slow?

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.
 
T

Tim Van Wassenhove

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top