Question: how to use jslink in sharepoint online?
Answer: Final View:
Steps to do it?
Step 3: Set JS Link Property of List view web part to Url of uploaded JavaScript file. Navigate to Task list and edit list view WebPart, I have opened Workflow Tasks list.
You will see JSLink property under Miscellaneous section.