For a views using table, if you want to add a custom class on <tr>, you can go to this view’s setting page, find the ‘Foramt’ section, click the ‘table’s ‘setting’.
You don’t know what is the field token. But don’t worry, you can find the field tokens in here, click the field in the ‘Fields’ section.
But if the field is not there, you can add the filed and tick “exclude from display”. Ignore the error message please 😀
Then find the ‘Rewrite results’:
Save and done.