I think your problem is the missing double quotes around the click handler, but I still couldn’t log the row object eg. this works fine:
onclick=\"console.log('" + row.id + "')\"
but this doesn’t:
onclick=\"console.log(" + row + ")\"
Either way you still end up with my original problem where you can’t reference an external function, I think the problem is that I don’t know how to make my click handler available in the ReactDOM