jquery - In jqGrid, is it possible to determine which fields have been modified on save? -


I am using jqGrid to show account information to users who administer those accounts, giving them names, , And gender for those managed users. I want to warn the user when they modify more than one of these fields.

Therefore, if they modify the same time date and last name, then display a popup that says, "Are you sure you want to modify these areas?" I have Already have a custom function that does some validation in the line before saving, but to determine which fields are being modified to save me, jqGrid does not have an underlying function Looks like I'll definitely save the current values ​​to edit it'm comparing myself can do, then save the field, but I also do not address'll add if it is not necessary. Is there any easy way to ignore me? Thanks!

get in the created way and getRowData always return the cell contents before editing. Can you try to compare prices with input elements?

I believe you are using form / inline editing. But if you are using cell editing, then there is a getChangedCells method to meet your needs.

Comments