I need to have the text in a standard edit cell selected immediately when a user selects the cell. Essentially when the user goes into edit mode I want all of the text selected so that they can immediately start typing in a new value without having to delete the text first
Thanks
Dan
You can
a) use excel-like keymap
dhtmlx.com/docs/products/dhtmlxG … ccess.html
or
b) try to use next command
grid.attachEvent(“onEditCell”,function(stage,id,ind){
if (stage == 1 && this.editor.obj)
this.editor.obj.select();
return true;
})
The URL pointing to the example for keymap works great but there is no information on how to activate the keymap dhtmlx.com/docs/products/dhtmlxG … excel.html
I appreciate your other information though
Thanks
Dan
You just need to include “dhtmlxgrid_keymap_excel.js” extension on the page