9 Nov 2011 12:56 AM #1
Answered: Make the data in the gridpanel as a hyperlink to another page
I need to make the data present in the gridpanel of a particular column as hyperlink. Example, if the name of the column is REPORT_NO. If you click on any of the report numbers present in this column, its respective report should open. Any ideas? Its kinda URGENT.
You can achieve this by defining a renderer for that column and returning the following from the renderer:
var str = '<a href="url">'+val+'</a>'; return str;