How to to use Datagridview in virtual mode?

Hobbyist_programmer 621 Reputation points
2020-12-20T08:32:04.18+00:00

Hallo,

I am trying to improve the performance of the datagridview when loading a large xml list or list of objects. I will not have have more than 5000 rows ..but with 200 rows with cell formatting event it really slows and almost unusable. Simply enabling virtual mode does not do anything. I just want to know how can i use dgv in a virtual mode. I will have data from xml or bindinglist of objects .

Thanks

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,737 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 85,881 Reputation points
    2020-12-20T11:10:40.693+00:00

    > I just want to know how can i use dgv in a virtual mode.

    It is explained in MSDN :

    How to: Implement Virtual Mode in the Windows Forms DataGridView Control

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.