Scrolling DataGridView ( window forms)

M

Mel

Hi,
When opening a form with a datagridview, I would like the grid to scroll
to the last row. If the row is visible there is no problem. The grid has a
binding source which is bound to a bindinglist<T>. I then set the binding
source position to the last item of the list, but the grid does not scroll
to the bottom. Looking for ideas!


Mel
 
M

Mel

Unfortunately that didn't make the grid scroll, but it did select that row
transactionCollectionDataGridView.CurrentCell =
transactionCollectionDataGridView.Rows[15].Cells[0];
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top