Help with binding OnRowSelect with GMaps

Help !

I have a list of markers and info windows created via the 'onRowCreated Event. When you click on the marker. The info windows opens and the grid row comes into view.

What I would like to do now is the opposite:

Using onRowSelect to click on the row to open the marker infoWindow but not sure where to start.

Any help would be great.

Thanks in advance

Found the answer:

myGrid.attachEvent("onRowSelect", function (id) {

		var rId = myGrid.getRowIndex(id);
		var marker = markers[rId];
		google.maps.event.trigger(marker, 'click');