code: function upToSourceRow (target) {
          var current = target;
          while (current && (!current.tagName || current.tagName.toLowerCase() !== "tr")) {
              current = current.parentNode;
          }
          return current;
      }
docs: region HTML page logic Whatever the target node, get the parent TR corresponding to the source row