Customizing Relationship grid


I want to add one column in relationship grid and that column contains some hyperlink text or image. I want to handle the "onClick" event on that particulr coulumn/cell.

What I did, I am able to add colunm in relationship grid by adding property(pil_action) to relationship as shown in screenshot. 
My question is: How can I add hyperlink text or image in that colunm which I added?
Is there any way to handle the "onClick" event on column/cell?