Using VirtualMode on a DataGridView when the number of rows/columns isn't known
- by Nathan Baulch
I need to display an unknown length sequence of dictionaries with unknown keys efficiently in a data grid. This sequence is the result of a potentially slow LINQ query that could contain any number of results.
At first I thought that VirtualMode on DataGridView was what I was looking for but it appears that the number of rows and columns must be…