Selecting rows from multiple grids

I have a form containing 6 grids and I need to identify which grid has been selected as well as the row. I have used attachEvent( “onRowSelect”, getInfo ) but this only returns the rowId and cell number. Does anyone know how I can do this without calling a different function for each grid.


inside event “this” points to grid

Thanks I should have guessed!!