Primary key values are used as row ids in json data returned from server. If primary key value is edited and saved two times, second save causes error since jqGrid passes origin
The rowid is nothing more as the value of id attribute of the corresponding element of the grid. So to change the rowid oldRowid to newRowid you should do something like the following: $("#" + oldRowid).attr("id", newRowid); 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
id
element of the grid. So to change the rowid oldRowid to newRowid you should do something like the following: $("#" + oldRowid).attr("id", newRowid); 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
oldRowid
newRowid
$("#" + oldRowid).attr("id", newRowid);