In this case you can use the generated id of the grid view or the entrie grid box.
If you do not know the entire grid is within a div which id is combination of gbox_ and the grid id. By example if one grid in page has id=customer, then the entire grid box has id=gbox_customer
To solve the problem add the id of the grid before tr selector something like this: