Click event for tr elements.