Forum
16:38
26/11/2012
Hi,
Part of the my app requirements, are to have a checkbox, but, only allow single row selection (not multiple rows), along with cell edit.
I have the following properties set:
multiselect: true,
cellEdit: true,
cellsubmit: 'remote',
cellurl: '/url/to/handling/the/changed/cell/value',
To only allow single row selection, I tie into the beforeSelectRow event, and call resetSelection like:
beforeSelectRow: function (rowid, e) {
jQuery("#list").jqGrid('resetSelection');
return (true);
},
The problem I'm running into, is that when I click on a cell to edit, and then click to a different row (or click a checkbox of a different row), the previously edited cell does not restore itself. It leaves the textbox there.
Any ideas how I can restore that edited cell, to it's previous, unedited, state?
Thanks!
Most Users Ever Online: 715
Currently Online:
19 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