The effect can be seen:
Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.
EventArgs) Handles Me.Load
DataGridView1.VirtualMode = True
DataGridView1.RowCount = 10000000
DataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect
End Sub
Private Sub DataGridView1_CellValueNeeded(ByVal sender As Object, ByVal e
As System.Windows.Forms.DataGridViewCellValueEventArgs) Handles DataGridView1.
CellValueNeeded
e.Value = 1
End Sub
End Class
''form contains datagridview with 3 columns
Is there some workaround?
"intars" wrote:
> .
>
Also it seems that populating rows with data works fast. But slowness is
caused by change of current row.
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/winform-data-binding/200911/1
"intars via DotNetMonster.com" wrote:
> .
>
John Bundy wrote:
>Haven't tested these, but it looks like they did:
>http://www.developerdotstar.com/community/node/706
>> Well obviously it is not a memory issue, because on upper rows datagridview
>> works fast, but on lower rows its response is slower and slower. And it is
>> possible to go back to upper rows and it works fast again.
>>
>> Also it seems that populating rows with data works fast. But slowness is
>> caused by change of current row.
--
Message posted via http://www.dotnetmonster.com
John Bundy wrote:
>Haven't tested these, but it looks like they did:
>http://www.developerdotstar.com/community/node/706