code: function styleTDTH(elm, name, value) {
              if (elm.tagName === "TD" || elm.tagName === "TH") {
                dom.setStyle(elm, name, value);
              } else {
                if (elm.children) {
                  for (var i = 0; i < elm.children.length; i++) {
                    styleTDTH(elm.children[i], name, value);
                  }
                }
              }
            }
docs: Explore the layers of the table till we find the first layer of tds or ths