Skip to content Skip to sidebar Skip to footer

How To Refresh Jqgrid Row Id After Primary Key Is Changed In Form Edit Without Reload

If form editing changes primary key, row id will not change. Row ids are created from primary key. So after primary key editing in form row id becomes wrong. Using reloadAfterSubmi

Solution 1:

If you get the primary key after editing, you can use jqgrid setCell method to change it.

here is the method link

you can search it with "setCell" in this page.

$('#gridTable').setCell(rowId, 'KeyColumnName', 'Value');

Post a Comment for "How To Refresh Jqgrid Row Id After Primary Key Is Changed In Form Edit Without Reload"