I have nearly the same problem. I have a JQGrid where you can change a field in Cell Editing Mode. All is working fine. If a user now change the value in inline mode and take a click on the change button on the table (for Formediting-Mode), getRowData gave me (yes I know it stands in the documentation) the html input field. But what alternative I have?
Additionaly if a user change in celleditingmode the value and click an another row or cell that is not editable I want to display the new value in a html div block out of the jqgrid. So I have two functions formatCell and onSelectCell. Both do the same take the getRowData and display it in the div block. Same Problem I know the documentation but what is the alternative? If I use a hidden value the value would not be updated.
Any ideas Tony? Is there a changse to do something like Column-Editing to make a column editable? So I can ignore the div-block and the form-editing.
so I try a little bit to fix the problems with 2 Editing-Mods. If my Form is created I do the following in afterShowForm to get the right value from the Inline-Form:
In my case I needed the value of the cell during a row select event. I was also getting all that HTML mentioned in red but I was able to move move my code BEFORE I moved the row to edit mode. My code to get the cell value is:
grid.jqGrid(“getCell”, id, 1) //id is the id assigned to the row. 1 is the number of the column where the value is