Vote count: 0
I'm experiencing with this jqGrid (based almost exactly on this one by @Oleg).
My problem is this: Once I click one of the cells under the Category column, the drop-down "look" stays. I want it to disappear (whether I changed the cell's value or not). How can this be done? Here's my 'onSelectRow' and 'beforeSaveRow' snippet:
onSelectRow: function(id) {
if (id && id !== lastSel) {
grid.jqGrid('editRow', id, true, null, null, 'clientArray');
lastSel = id;
}
},
beforeSaveRow: function (options, rowid) {
grid.jqGrid('saveRow', rowid);
}
Note: I'd also be glad to understand why this fiddle, which is identical to the above one, doesn't work.
asked 32 secs ago
JQGrid: Make the select drop-down disappear
Aucun commentaire:
Enregistrer un commentaire