jqGridの画像のように行セレクターを実現する方法はありますか? 行をクリックすると、左端の列にポインタのようなアイコンが表示されます。
ありがとう!
これは私が追加したコードです
onSelectRow: function(rowId) {
if (rowId && rowId != lastsel) {
$(this).jqGrid('restoreRow', lastsel);
$(this).jqGrid('editRow', rowId, true);
var ic = "";
if (lastsel) {
$(this).setCell(lastsel, 0, ic, '');
}
ic = '<img src="images/ig_tblTri_Black.gif" />';
$(this).setCell(rowId, 0, ic, '');
lastsel = rowId;
}
}
コードは実行されていますが、画像は表示されません。