Is there a way to scroll to a certain item or at least to a selected one? I'm using TreeListView, but it looks like simple ObjectListView can't scroll by demand as well..
Try
myOlv.EnsureModelVisible(myModelObject)
I haven't tested it, but if i remember correctly it is supposed to scroll the view to make the given item/model visible.
If you want to have the item at the top of the list I do something like this and it seems to work:
fastObjectListView.EnsureVisible(fastObjectListView.GetItemCount()-1);
fastObjectListView.EnsureVisible(indexToMakeVisible);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With