How to change the cursor to a pointer when hovering over a table row

" Oops! That page doesn’t exist or is private."
The link you have to this solution doesn’t work. Please explain the solution here.
I’m making a widget and want to set “cursor: pointer” on a sub-widget only if it can be clicked.