getChangedRows(true) issue

Hi,

I have a form with save and cancel buttons. I also have grid in another panel. When I edit grid’s cell value and click save I intend to save the form and grid values to database.In save button, Iam using grid.getChangedRows(true); line to fetch both new and edited rowIds.When I click grid’s cell.Edit its value and click save, I dont get any changed rowIds. When I edit cell value and click tab that is focus the input to next cell and then click save, it works fine. Can any one help me suggest on how to lose focus from grid cell on clicking save button.

The editing process should be finished - the editor should be closed.

You may try to call mygrid.editStop() before getting the changed rows.