Obtenga el TR principal de TD jQuery
tdToPad.closest('tr')
.addClass('X-' + pad)
Successful Stag
tdToPad.closest('tr')
.addClass('X-' + pad)