Hi Fadi,
The RunJavaScript function you're trying to call receives a Text as input. To make it work you need to encapsulate your javascript between double quotes like this:
"document.querySelectorAll(""[data-rownumber='""+$parameters.RowNumber+""']"")[0].click();"
Note that to escape the double quotes inside the text you just need to double it as I did in that example.
Hope it helps.
Cheers