Hi there
How can I select all the text of the input when a grid column gets edited?
Ideally in the ‘onEditCell’ event
Thanks
Hi there
How can I select all the text of the input when a grid column gets edited?
Ideally in the ‘onEditCell’ event
Thanks
Please, try to use the following solution:
grid.atatchEvent("onEditCell",function(stage,rId,colInd){
if(stage==1 && grid.editor && grid.editor.obj){
this.editor.obj.select();
}
return true;
})
Thank you very much sematik!
It works great.