Categories | Question details Back To List | ||
select entire contents of cell on enter edit currnetly when you enter edit mode on a cell it places the cursor to the side of the existing text. how can i make it select all the contents upon entering edit mode? Answer posted by Support on Oct 07, 2008 02:12 Add next code snippet to grid initialization, it must provide necessary effect for common excell types mygrid.attachEvent("onEditCell",function(stage){ if (stage==1 && this.editor && this.editor.obj) this.editor.obj.select(); return true; }) |