If I understand right maybe you will need to pass parameters to the page where the grid is or use cockies for this purpose, then in gridComplete event you can check if this parameter is present and do setSelection with the rowid.
yes i figured that out, and this works fine when the row is on the first page in the grid. When the row i want to select is on another page i get the error: 'this.0.innerHTML'