portal form event rules

I need to implement a function on portal form. On the portal form, I show documents details in a grid in which there a link column. By clicking the link, i need to show the previous versions of the document from that row. I am stuck at how to code the event rules for the link column. Any code example will be appreciated.


Parents Reply Children
No Data

 Discussion posts and replies are publicly visible