I have a jqGrid, version 3.7.2. I have my fields set to “editable:true” and I am using
onSelectRow: function(id){ if(id && id!==lastsel){ $('#customers').jqGrid('restoreRow',lastsel); $('#customers').jqGrid('editRow',id,true); lastsel=id; } }
that allows for inline editing. I also have the edit button in the pager bar. The problem is, when I select a row and the inline editing starts to happen AND I click the edit button in the pager bar, the form pops up to do editing, but the text inputs have the html of the inputs from the inline ediing in the grid. So in the actual text input, the value displays as ““.
Is there a way to prevent this? For now, I have just removed the edit button from the toolbar, but the client said they would like to have the option to do both.
THANKS
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top