Question

I'm using jqGrid, and I need to do the things below:

I need to edit the rows (using inline editing), and after that (after I edit, the data have to be stored in local mode just for visualization) and after that I have to be able to edit another row (and the things have to happen the same way). After I edit the rows, I'd like to visualize all the rows and just after that I'd press a button to save my changes in the database.

How can I do that?

Was it helpful?

Solution

To expand, saving your edits for post will potentially result in syncronization errors especially if multiple users are operating on the same records. If you want to use Form Editing you can look at a beforeSubmit event to visually display the row to the user to ask them to confirm changes. If it is format, or other things you are looking to verify you can look at custom cell validation such as in the following link:

how to implement row level validation in jqgrid

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top