cell click event question. cursor position.

<textarea onclick=“this.select()” …>

I have a question.

Clicking cell selects the entire text I want to.
What should I do?

or

Click the text behind the cursor at cell I would like to be started.
Thank you.

You may try to use something similar:

mygrid.attachEvent("onEditCell",function(stage,rId,cInd,nValue,oValue){ if (stage==1){ this.editor.obj.select(); } return true; })