I have a grid where the user can change certain values inline, and the user can click on the save button, which will use getRowData to get the data out of the grid, and then post it to the server.
I know getRowData returns the cell content, which in edit mode, is the actual html control. Therefore, I'd like to get out of the edit mode (in case the grid is in edit mode), before using the getRowData method to get the actual data. However, there doesn't seem to be a cancelEditCell method or something similar.
The code I came up with is far from perfect, as it moves the focus to the first field in the grid:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top