Obtenez Main TR de TD JQuery

tdToPad.closest('tr')
       .addClass('X-' + pad)
Successful Stag