标题中的jqgrid colnames(href)链接

标题中的jqgrid colnames(href)链接,jqgrid,Jqgrid,请告诉我如何在jqgrid working reference中创建列名 jQuery(document).ready(function(){ jQuery("#table").jqGrid({ url: 'test.php', imgpath: 'css/flick/images', datatype: 'json', height: 'auto', width: 1050,

请告诉我如何在jqgrid working reference中创建列名

jQuery(document).ready(function(){ 
    jQuery("#table").jqGrid({
            url: 'test.php',
        imgpath: 'css/flick/images',
            datatype: 'json',
        height: 'auto',
        width: 1050,
        sortname: 'id',
            sortorder: "asc",
            mtype: 'POST',
            colNames: ['id', '<a href="index.php" >INDEX LINK</a>', 'notes'],
            colModel: [{name:'id', index:'id', width:320, align:'left', sortable:false, search:false},
                        {name:'data', index:'data', width:320, align:'left', sortable:false, search:false},
                        {name:'notes', index:'notes', width:320, align:'left', sortable:false, search:false}],
        rowNum: 50,
        viewrecords: false,
        shrinkToFit: false,
        hidegrid: false,
        loadonce: true
    });
});
jQuery(document).ready(function(){
jQuery(“#表”).jqGrid({
url:'test.php',
imgpath:'css/flick/images',
数据类型:“json”,
高度:“自动”,
宽度:1050,
sortname:'id',
分拣员:“asc”,
mtype:“POST”,
colNames:['id',''notes'],
colModel:[{name:'id',index:'id',width:320,align:'left',sortable:false,search:false},
{name:'data',index:'data',width:320,align:'left',sortable:false,search:false},
{name:'notes',index:'notes',width:320,align:'left',sortable:false,search:false},
rowNum:50,
viewrecords:false,
shrinkToFit:错,
希德格里德:错,
loadonce:对
});
});

工具提示显示参考将继续,但不会显示–未激活

不确定这是否是正确的解决方案,但这是可行的

jQuery(document).ready(function() {
    $("#th_id").click(function() {
      window.open('http://www.google.com');
    });
});
这是一本书。希望这有帮助