1

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)

Community
  • 1
  • 1
positive
  • 151
  • 2
  • 12

1 Answers1

0

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
positive
  • 151
  • 2
  • 12