Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #12979 |

    SuspendLayout doesn’t seem to do anything. I’m populating an unbound grid with a large number of rows (40k) and want to prevent it from updating its display until I’m done. How can I do this other than using .Hide and .Show?

    Imported from legacy forums. Posted by TechnoTone (had 2088 views)

    User (Old forums)
    Member
    Post count: 23064

    hi

    use:

    grid.BeginInit();

    //your code…
    //bind grid to datasource

    grid.EndInit();

    Imported from legacy forums. Posted by C# (had 3095 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.