Comment puis-je déclencher une action commune sur une ligne cliquez sur l'action de la manière flexigrid? Je veux quand la ligne est cliqué pour rediriger vers http://localhost/view/40 (la valeur d'ID) pour la ligne sélectionnéeflexigrid sur la ligne cliquez sur
$("#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
});