当传一个值:
var v = '<a href="javascript:void(0)" οnclick="openPDF(\''+ row.pdf_id + '\')">'+row.gist+'</a>';
传多个值:
formatter : function(value, row, index){
var v = '<a href="javascript:void(0)" οnclick="openPdfurl(\''+ row.pdf_id + '\',\''+ row.gist + '\')">'+row.gist+'</a>'; return v; }
注意\'转义