Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法修改一行...
var params = { name: "John", age: 13, email: "asd@asd.com", ... //You get the point } grid.jqGrid('editColumnMethodFromJqGrid', 3, params);
...假设姓名、年龄和电子邮件是网格的列?
我发现了。 使用新版本的 API:
var params = { //Defined in answer } $("#grid").jqGrid('setRowData', "row_id", data);