Dear all,
I’m facing a problem with the grid and until now I have’t found any solution.
I’m using the inline edit mode onDoubleClick, the problem is that the focus is always set to the first editable column. Here below my part of code related to the issue:
beforeSelectRow: function (rowid) {
if (rowid !== lastSel) {
gridMC.jqGrid('restoreRow', lastSel);
lastSel = rowid;
}
return true;
},
ondblClickRow: function (rowid, iRow, iCol, e) {
var p = gridMC[0].p;
if ((p.multiselect && $.inArray(rowid, p.selarrrow) < 0) || rowid !== p.selrow) {
gridMC.jqGrid("setSelection", rowid, true);
}
gridMC.jqGrid('editRow', rowid, true, function () {
$("input, select", e.target).focus();
});
return;
}
Is there anyone that can try to help me? Thanks in advance.
Regards,
Roberto
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top