I found many solutions, but neither doesn't work. I have the latest version 4.7.0. In example this: focus cell inline editing.
My solution is [code is in coffeescript]:
ondblClickRow: (rowId, iRow, iCol, e) ->
if rowId and rowId isnt lastSelectedRowId
table.jqGrid 'editRow', rowId, true
$("input, select, textarea", e.target).focus()
lastSelectedRowId = rowId
Doesn't jqGrid have impelemented how to select of cell during inline editing?
Note for Oleg: Please, look at my last comment again jqgrid (converting datatypes)
I found the best solution, but only for 4.7.0. version.
coffeescript code, but solution is to see.
ondblClickRow: (rowId, iRow, iCol, e) ->
if rowId and rowId isnt lastSelectedRowId
table.jqGrid 'editRow', rowId, {keys:true, focusField: iCol}
lastSelectedRowId = rowId
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments