开发者

JqGrid setCell method, inserts blank row in the grid

开发者 https://www.devze.com 2022-12-24 23:18 出处:网络
I have a portion of code to update a cell value like this: jQuery(\"#myGridD开发者_C百科iv\").jqGrid(\'setCell\', myRowToEdit, myColToEdit, myNewValue);

I have a portion of code to update a cell value like this:

jQuery("#myGridD开发者_C百科iv").jqGrid('setCell', myRowToEdit, myColToEdit, myNewValue);

that's about it, and sometimes it happens that a blank 'dummy' row is inserted at the end of the grid, this behavior is somewhat random but occurs often,

any help will be really appreciated


Are you sure this is what is causing the problem? I read through the jqGrid 3.6.4 source code and nothing really jumps out. Perhaps you have some other code on your jqGrid (or application) that is causing this problem.

I suggest either removing code to try to isolate the problem, or for you to post more code in your question.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号