Forum
17:53
13/09/2011
I've encountered a bug after upgrading to the latest version of jqGrid (4.3.1). I use inline-editing in my grid and under some unknown circumstances (only happening in one row for me right now), the wrong columns are switched to edit mode. I looked at the values in each column using Firebug and there seem to be no special characters which might affect the grid.
For now I have gone back to using version 4.1.2, but any help or ideas on this situation would be appreciated.
Typical Behavior (note: The "Posting Site" column holds a dropdown, not a textbox. The width of the column is just short.)
Before:
After:
Problem Scenario
Before:
After:
The contents of the rowactions cell are :
<DIV style="MARGIN-LEFT: 8px"><DIV class="ui-pg-div ui-inline-edit ui-state-hover" onmouseover="jQuery(this).addClass('ui-state-hover');" title="Edit selected row" style="FLOAT: left; CURSOR: pointer" onclick="jQuery.fn.fmatter.rowactions('1','grid','edit',14);" onmouseout="jQuery(this).removeClass('ui-state-hover')"><SPAN class="ui-icon ui-icon-pencil"></SPAN></DIV><DIV class="ui-pg-div ui-inline-save" onmouseover="jQuery(this).addClass('ui-state-hover');" title="Save changes" style="DISPLAY: none; FLOAT: left" onclick="jQuery.fn.fmatter.rowactions('1','grid','save',14);" onmouseout="jQuery(this).removeClass('ui-state-hover');"><SPAN class="ui-icon ui-icon-disk"></SPAN></DIV><DIV class="ui-pg-div ui-inline-cancel" onmouseover="jQuery(this).addClass('ui-state-hover');" title="Discard changes" style="DISPLAY: none; FLOAT: left; MARGIN-LEFT: 5px" onclick="jQuery.fn.fmatter.rowactions('1','grid','cancel',14);" onmouseout="jQuery(this).removeClass('ui-state-hover');"><SPAN class="ui-icon ui-icon-cancel"></SPAN></DIV></DIV>
Thanks,
Mike
Most Users Ever Online: 715
Currently Online:
61 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66