Aleksa
Aleksa

Reputation: 3124

Go to specifc row in wx.grid

I have wx.grid filled with data and I have search option so when user enters some text, I find it and select that row. The problem is that row only gets selected but doesnt become visible. It doesnt scroll down or up to that row. How can I manually scroll to that row?

Upvotes: 0

Views: 821

Answers (1)

Steve Barnes
Steve Barnes

Reputation: 28405

MakeCellVisible( int row, int col ) — forces the particular cell to be visible, effectively works to scroll the grid to be given cell.

Upvotes: 3

Related Questions