Results 1 to 4 of 4

Thread: [2.0] How to not refresh that grid.

  1. #1

    Thread Starter
    Fanatic Member JPicasso's Avatar
    Join Date
    Aug 2001
    Location
    Kalamazoo, MI
    Posts
    843

    [2.0] How to not refresh that grid.

    I need a way to delay refreshing of a data grid until all my edits are done.

    I have a dataGridView that is loaded with various data items, and I'd like to
    stop painting of the grid while I assemble and load all that needs to be displayed
    in order to smooth out the data display. Then, when all the data is loaded into the grid, behind the scenes,
    refresh the screen with all the glorious new data.

    It wouldn't bother me to "lock down" the whole UserControl if that's what it took.

    Thanks.
    Merry Christmas

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2.0] How to not refresh that grid.


  3. #3

    Thread Starter
    Fanatic Member JPicasso's Avatar
    Join Date
    Aug 2001
    Location
    Kalamazoo, MI
    Posts
    843

    Re: [2.0] How to not refresh that grid.

    We are using a DataGridView control which does not appear to have an "OnPaintBackground" method.

    The problem we are having is screen flicker. We get a list of data to populate a datagridview control. The data will be sent 4 times a second. Clearing and repopulating the entire table produces some noticable screen flickering. So we are trying to compare data, lock the screen, update the table data by just altering cell data, and then redo the screen as needed. With limited success...

    Any thoughts?
    Merry Christmas

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2.0] How to not refresh that grid.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width