I'd suggest you to first get the cells in the clicked row. You can do this by for example by first getting the target element (the clicked cell), then getting its parent (the row) and then getting the children from the parent (all cells in the row). Then iterate over them and change their style. It is important to use the cells, not the row itself as the cells are on a higher z-index than the row.
var children = $($(e.target)[0].parentElement).children();
for (var key in children) {
if(children.hasOwnProperty(key))
children[key].style["background-color"] = "red";
}
you could of course also add the class where I manipulated the style by using $(children[key]).addClass("yourClass")