$.(document).ready(function() {
$.ajax({
url: 'xx_op.php',
...success: function(result) {
result = JSON.parse(result);
var colNames = result.columnNames;
var colModel = result.colModel;
$.("list").jqGrid({
colNames: colNames,
colModel: colModel,
cellEdit: true,
cellsubmit: 'clientArray',
afterSaveCell: function(rowid, cellname, value, iRow, iCol) {
var y = $("group_list").getChangedCells('dirty');
var t = JSON.stringify(y);
$.ajax({
....
});
}
});
}
});
});
can you understand my meanings? I want to set celledit to dropdown and multiselect,so how can i write code? This is renderings that I want to achieve finally . And each colnames are like picture and values are different from colnames to other colnames