0
我需要在JQuery網格列中動態地啓用HTML標籤。如何在JQuery網格列中動態地啓用HTML標籤
我該怎麼做。
我的代碼是
jQuery("#jqgrid").jqGrid({
data: $scope.jqgrid_data,
datatype: "local",
height: 'auto',
sortable: false,
width: '900',
colModel: $scope.ColDefinations,
viewsortcols: [true, 'vertical', true],
rowNum: $scope.pageSize,
pager: '#pager_jqgrid',
sortname: 'Student Name',
toolbarfilter: true,
viewrecords: true,
sortorder: "asc",
multiselect: false,
autowidth: false,
autoencode: true,
gridview: true,
rownumbers: true,
shrinkToFit: false,
forceFit: true,
loadonce: false,
pgbuttons: false,
});
這樣
jQuery(".jqg-second-row-header th:eq(" + i + ")").text(titletext[0] + "<span> hai</span>");
綁定HTML任何一個可以幫助我,我哪裏錯了
由於提前