如何以 flexigrid 方式触发行单击操作的常见操作?我希望在单击该行时重定向到单击的行的http://localhost/view/40(ID 的值)
$("#flex1").flexigrid({
url: 'http://localhost/index.php/get_data',
dataType: 'json',
method: 'GET',
colModel : [
{display: 'ID', name : 'id', width : 40, sortable : true},
{display: 'A', name : 'a', width : 40, sortable : true},
singleSelect {display: 'B', name : 'b', width : 40, sortable : true},
],
sortname: "id",
sortorder: "desc",
showTableToggleBtn: false,
resizable: false,
useRp: true,
rp: 30,
singleSelect: true,
usepager: true,
width: 'auto',
height: 100
});