Add rows to DataGridView on scroll

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • queried
    New Member
    • Mar 2010
    • 4

    Add rows to DataGridView on scroll

    Hello!

    I have DataGridView control and Hashtable bound to it with rather large amount of data - can contain up to 2000 items. Every row goes with Image, so populating of all that stuff takes lots of time.

    In my opinion some obvious ways to optimize this are 1) to paginate flow or 2) to make data added on demand - i.e if you scroll to the bottom of first 500 rows there should appear 500 more (via DataGridView.Sc roll Event handler).

    I'd love some advices about advantages of both ways, or maybe any ideas about some other tricks to solve the problem..
  • queried
    New Member
    • Mar 2010
    • 4

    #2
    Ok I got it on my own. The problem was in rows autoresize - turning it off did the trick.

    Comment

    Working...