Locate or ".uno:GotoLine"

Hi there
How could i implement a " .uno:GotoLine " in a Search/Find data in GRID in a Dialog!
I’ve tryied with oDispatcher but i was not able to understand it’s funcionality!
I started trying to charge oResultSet into an array and later build a BinarySearch for find a certain data
into the array that returns me the linerow and later perform a uno:GoToLine…
So far i found very litle information about it.
Or is ther some easy way of doing it?
Can anny one help
Best regards

This appears duplicated here → How to implement a uno:GotoLine Dispatcher in a Grid on a Dialog

If so, please delete one or the other.