ChrisB
2025-09-15T17:03:08Z
Hi,

in a Grid with many rows, after seeking a row manually with SearchasType, the row is sometimes displayed as the last one in viewport at the bottom of the Grid.
How can the matching row be shown on top (or middle) of the grid viewport, when a match is found?

Tried this, but is not really working well, as any Mouse interaction will prevent scrolling:

Private Sub Grid_Liste_VScrollBarValueChanged(sender As Object, e As EventArgs) Handles Grid_Liste.VScrollBarValueChanged
If Grid_Liste.SearchAsType.HasMatches Then
Grid_Liste.VScrollBar.Value = (Grid_Liste.DefaultRow.Height * Grid_Liste.CurRow.Index)
End If
End Sub


Thanks,
Chris
Igor/10Tec
2025-09-16T14:11:53Z
Unfortunately, you can't change this behavior of iGrid.