0
我正在使用jqgrid,我需要通过单击编辑按钮更新记录内联,进行一些更改,然后单击保存按钮。更新记录时出现错误窗口。在jqgrid中更新记录不起作用
HTML:
<table id="grid"></table>
<div id="pager"></div>
Here是我的小提琴,
有人建议需要做什么呢?
感谢
我正在使用jqgrid,我需要通过单击编辑按钮更新记录内联,进行一些更改,然后单击保存按钮。更新记录时出现错误窗口。在jqgrid中更新记录不起作用
HTML:
<table id="grid"></table>
<div id="pager"></div>
Here是我的小提琴,
有人建议需要做什么呢?
感谢
参考这方面的工作联编辑jsfiddle
$("#grid").jqGrid({
data: mydata,
datatype: "local",
colNames: ["Name", "Country", "Continent"],
colModel: [{
name: 'name',
index: 'name',
editable: true,
}, {
name: 'country',
index: 'country',
editable: true,
}, {
name: 'continent',
index: 'continent',
editable: true,
}],
pager: '#pager',
'cellEdit': true,
'cellsubmit' : 'clientArray',
editurl: 'clientArray'
});
我需要有一个编辑和保存按钮,我的要求说...... – steeve