如何触发一个共同的行动在行点击行动flexigrid的方式?我想,当该行被点击重定向到http://localhost/view/40(ID值)为点击行flexigrid on row点击
$("#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
});