I want to display image link in a column in jqgrid with image name as querystring.The link should contain following path "Home\ShowImage?imageName=vlaue".
A:
function jqGridFormatter(cell, options, row) {
return "<a href='Home\ShowImage?imageName=" + cell + ">Image</a>";
}
Then you need to specify this formatter in colModel options for jqGrid, see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:custom_formatter.
queen3
2010-05-04 13:34:34