Select Content of a cell when calling editCell() method.

Hi !

Is it somehow possible to select the text in a cell when the editor is invoked on a key event by editCell() ?

e.g. (doesn’t work, just as an illustration)


The goal is that the user can replace the text in that cell without the need to select it all.


U. Fiege

There is no universal code for all types of excell but necessary behaviour can be achieved in next two ways

a) modification of dhtmlxGridCell.js
    in code of related exCell locate next string
    and replace with

b) manual api call
    mygrid.editCell();; // will work only for most common excell types