Hi,
I have a Datagridview and in the event DataBindingComplete I do the following
With Datgridview1
.AutoResizeColumns()
If .RowCount > 0 Then
.Rows(.RowCount - 1).Selected = True
.FirstDisplayedScrollingRowIndex = .RowCount - 1
End If
End With
This code doesn't work, when my Datagridview has Columnheaders which are two-lined. Then I can't see the last row in the visible region, but the secondlast. I have to scroll to this last row always.
What is to do, to see the last row directly?
Dietrich